Re: const struct pci_device_id *id_table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

	modinfo my_module_name | grep pci:
will show you all of the pci_device_id for that module.

What do you need it for?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux