hi greg, Then what does the slot number mean in PCI ? TIA Anand > -----Original Message----- > From: kernelnewbies-bounce@nl.linux.org > [mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of Greg KH > Sent: Tuesday, March 09, 2004 2:52 AM > To: Anandraj > Cc: kernelnewbies@nl.linux.org > Subject: Re: PCI Slot info > > > On Sun, Mar 07, 2004 at 10:46:12AM +0530, Anandraj wrote: > > 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. > > This is not the physical slot for the pci device. > Unfortunatly there is > no way to figure this out for all types of PCI systems :( > > greg k-h > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/