[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: slot number in Desk-top
Linux OS maintains the information about the PCI resources in the proc file
system /proc/pci. from the shell you can view this file using "cat
/proc/pci" command. you have to know the device id as well as the vendor ID
to identify your device.
If you are making a kernel module, following api can be used :
pci_find_slot(unsigned int bus, unsigned int devfn)
From: Dinesh Kumar [mailto:email@example.com]
Sent: Wednesday, January 08, 2003 8:46 AM
Subject: slot number in Desk-top
I have a basic qry.
In a desk-top environment, is there a mechanism to find out which
PCI card/resource is plugged in to which slot ? In other words, is
it possible in OS level to read slot number of a particular PCI
card plugged in to a desk-top ? Assume the machine is running in
Any one experienced similar problems ?
Thanks in advance