On Sun, May 21, 2006 at 11:06:50AM +1000, Myrto Zehnder wrote: > In my project, I have to get access to fields of: const struct pci_device_id > *id_table > > > /* struct pci_driver > * { > * const char *name > * const struct pci_device_id *id_table > * int (*probe) (struct pci_dev *dev, const struct pci_device_id *id) > * void (*remove) (struct pci_dev *dev) > * } > */ > > How do I get access in my User Level Module? > > Thanks, > Myrto > > User Level Module ? What's this ? You want to access the structure from the user space ? If you want to do so, you can include the linux kernel headers. But it's not a good idea. If you want to a linux kernel driver, then you shouldn't access the pci_driver structure from user space. And if you want to do a user space drier, you should'nt use this structure. But I'm not sure I have understood your expression : "User Level Module" :) -- tyler tyler@xxxxxxxx ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/