On Thu, Dec 06, 2001 at 10:36:19AM -0500, C.Mohanasundaram wrote: > > Take a look at the pcihpfs code in drivers/hotplug/pci_core.c for an > > example of a device driver that uses a filesystem to interact with > > userspace. > > > > The code in there is based on ddfs/driverfs (which is now in 2.5.1-pre5) > > and the ramfs code. > > [mohan] i searched through lxr.linux.no. i could not find > drivers/hotplug/pci_core.c. > is it availabe only on 2.5.1-pre5 kernel. Sorry, that should have been drivers/hotplug/pci_hotplug_core.c It's been in the tree since 2.4.15. thanks, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/