]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a couple of bugs in host_pcib_get_busno():
authorjhb <jhb@FreeBSD.org>
Mon, 25 Nov 2002 21:53:14 +0000 (21:53 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 25 Nov 2002 21:53:14 +0000 (21:53 +0000)
commit0216c8a659b4de96652dcc7a6260ed0924b33c4b
treeb72587037aa4f1ea5d0a4addbc78f6ab7f2abbaa
parent42b371136d56c73244441765e7f96f722dab3afd
Fix a couple of bugs in host_pcib_get_busno():
- If a PCI device is not present, then a 32-bit read_config() is going to
  return 0xffffffff not 0xffff.
- For the 82454NX chipset, the MIOC that we read the bus numbers of the
  various host-PCI bridges from is at function (slot) 0x10 not 0x0.

Approved by: re (rwatson)
sys/dev/pci/pci_pci.c