-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Apr 05, 2007 at 09:00:51PM +0530, krishna.vamsi@xxxxxxxxx wrote: > I have ppc board, and I can see a new device FRAM on it. Ferroelectric RAM, according to the datasheet. > AFAIK, we are not using it for any purpose. > > I wanted to write the Device Driver for the same, But I'm not sure where > to start. > > I have read LDD3 but I'm clueless on how to start Writing driver for > this. > > Data sheet for the can be found here : > http://www.ramtron.com/lib/literature/datasheets/FM18L08ds_r3.2.pdf > > It would be gr8 help if u can give me some pointers.. Either let the kernel use it directly like any other RAM (only 32kB so not very useful), or make a character device driver that can be mmap()'ed into userspace: int fd = open(/dev/fram); char *fram = mmap(fd); *fram = 42; Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGFSYn/PlVHJtIto0RAqdnAJ4xkcHGdOwQRGLBEfEAg8+iOLo+pgCfbqcU XC4KBh8HRWxf+PE2b5G6fhs= =T5JD -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ