inode and blocks

2008-09-28 Thread Rohit Sharma
Suppose i have a file named abc.txt and i want to specify that all the *.txt files must be allocated between block groups no. 100 - 200 in ext2 fs. Is there a way to do this? can we modify function ext2_new_inode and find_group_orlov for this? -- To unsubscribe from this list: send an email

Re: external driver and struct device

2008-09-28 Thread Greg KH
On Sat, Sep 27, 2008 at 05:36:53PM +0300, Ramagudi Naziir wrote: hello all, i am writing an external driver (not in-tree) and many kernel APIs need a struct device. for example - clock API and DMA API... so how can I have it ? I currently don't have a probe function that gives me a

Re: inode and blocks

2008-09-28 Thread Theodore Tso
On Sun, Sep 28, 2008 at 03:49:04PM +0530, Rohit Sharma wrote: Suppose i have a file named abc.txt and i want to specify that all the *.txt files must be allocated between block groups no. 100 - 200 in ext2 fs. Is there a way to do this? can we modify function ext2_new_inode and

How to know the maximum memory pages that can be allocated?

2008-09-28 Thread Peter Teoh
I would like to know the maximum memory I can allocate (using alloc_page()) in GFP_KERNEL and __GFP_HIGHMEM memory area - how can I know that? Thanks. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED] Please read the FAQ

why not new-style I2C eeprom driver?

2008-09-28 Thread srinivas.ramana
Hi All, Would like to know why the I2C eeprom driver is not upgraded to new-style? Why is that some devices are still following legacy I2C driver style. If i want to write an I2C driver, is there any dependency on the device that makes me to write only legacy driver? another doubt: When i am