Re: pci_class_name....?

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

 



On Mon, Nov 17, 2003 at 10:40:05AM +0530, Megharaj wrote:
> thanx for reply. Just i wanted to use that function in my module,
> and my assumption is 'lspci' is using this function(pci_class_name)
> trough the proc/pci interface, so if that fuction is used in
> driver/pci/proc.c and defined in driver/pci/names.c...then why i can't
> use that fucntion in my module...?

lspci does not use it, it has it's own database of names and strings.

And if you notice, that function is not always built into the kernel,
depending on different kernel options.  It also will go away in the 2.7
kernel.  So those reasons are why I will not export that function so
that it can be used in any other portion of the kernel.

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