PCI Slot info

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

 



hi all,
Well, i have some doubt rgdn PCI.
is it possible to find out in which PCI slot the card is Plugged?
I found a macro PCI_SLOT(devfn) which gives the slot number ,
also the api pci_find_slot()
but  im not sure whether it gives the exact physcial slot in the board where
the card is plugged.

In the Book(Rubini says Driver sld not care where the card is plugged in),
but i need it in a secnario where ,
suppose there are some 3 audio cards of same company, i want to inform the
user that the head  phone has to be
connected to a paticular slot. I know the driver will be same for all the 3
cards but i have to inform the user abt the physical slot.
Can Sombody help me on this !?

TIA
anand




--
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