]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a function host_pcib_get_bnsno() that attempts to determine the bus
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 22 Nov 2002 17:50:47 +0000 (17:50 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 22 Nov 2002 17:50:47 +0000 (17:50 +0000)
commitb173edafc7a0a242a566e6b76a99763748ae09c7
treef1416576e12ca74626ba634e2a66d84d801872db
parent44e7a908987f8ce6b86402ce7bfdb7a8ed3c8151
Add a function host_pcib_get_bnsno() that attempts to determine the bus
number of the child bus of a host to PCI bridge by reading from proprietary
configuration registers in the host to PCI bridge devices.

Approved by: re
sys/dev/pci/pci_pci.c
sys/dev/pci/pcib_private.h