Get pci slot number in driver
John-Mark Gurney
jmg at funkthat.com
Mon Aug 24 17:20:28 UTC 2015
Nomad Esst via freebsd-drivers wrote this message on Mon, Aug 24, 2015 at 08:17 +0000:
> Is it possible to find out the pci slot number on which the card is mounted in driver? I tried pci_get_slot but it's always 0.Any ideas about doing this?
> regards
Are these PCIe add in cards? If so, check pciconv -lv, but most PCIe
cards are slot 0 of the bus...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-hackers
mailing list