aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ddb
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-03-05 16:46:38 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-03-05 16:46:38 +0000
commitb164215d32b95b28abf367526a4879ced000c756 (patch)
treea1f08a6d7f5cd245c6f181d74328cf8aa39710ef /sbin/ddb
parente7fd887711f6b245a27d20c200343ed2993e1cf9 (diff)
downloadsrc-b164215d32b95b28abf367526a4879ced000c756.tar.gz
src-b164215d32b95b28abf367526a4879ced000c756.zip
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)
Notes
Notes: svn path=/head/; revision=176832
Diffstat (limited to 'sbin/ddb')
0 files changed, 0 insertions, 0 deletions