diff options
author | marcel <marcel@FreeBSD.org> | 2008-03-05 16:46:38 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-03-05 16:46:38 +0000 |
commit | a43ebd515c88be9d501daa673f803853d1a715e1 (patch) | |
tree | a1f08a6d7f5cd245c6f181d74328cf8aa39710ef /sbin/comcontrol | |
parent | e378ea99349b36daa38977c06a93dade92ddd254 (diff) | |
download | FreeBSD-src-a43ebd515c88be9d501daa673f803853d1a715e1.zip FreeBSD-src-a43ebd515c88be9d501daa673f803853d1a715e1.tar.gz |
o Various fixes related to PCI Express:
- Even for the PCI Express host controller we need to use bus 0
for configuration space accesses to devices directly on the
host controller's bus.
- Pass the maximum number of slots to pci_ocp_init() because the
caller knows how many slots the bus has. Previously a PCI or
PCI-X bus underneath a PCI Express host controller would not
be enumerated properly.
o Pull the interrupt routing logic out of pci_ocp_init() and into
its own function. The logic is not quite right and is expected
to be a bit more complex.
o Fix/add support for PCI domains. The PCI domain is the unit
number as per other PCI host controller drivers. As such, we
can use logical bus numbers again and don't have to guarantee
globally unique bus numbers. Remove pci_ocp_busnr. Return the
highest bus number ito the caller of pci_ocp_init() now that
we don't have a global variable anymore.
o BAR programming fixes:
- Non-type0 headers have at most 1 BAR, not 0.
- First write ~0 to the BAR in question and then read back its
size.
Obtained from: Juniper Networks (mostly)
Diffstat (limited to 'sbin/comcontrol')
0 files changed, 0 insertions, 0 deletions