summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/io/pci/pci_tools.c
diff options
context:
space:
mode:
authorjohnny <none@none>2005-11-10 12:33:07 -0800
committerjohnny <none@none>2005-11-10 12:33:07 -0800
commit70025d765b044c6d8594bb965a2247a61e991a99 (patch)
treeecf0115912221f8be4400ca9bf4d04802b8e0355 /usr/src/uts/i86pc/io/pci/pci_tools.c
parent4610e4a00999c6d2291b3fc263926b890ec500a5 (diff)
downloadillumos-gate-70025d765b044c6d8594bb965a2247a61e991a99.tar.gz
PSARC 2005/375 PCI Hotplug Extensions for PCIe
PSARC 2002/315 cPCI Autoconfiguration Support 6331880 PCI Hot-Plug Framework Extension for PCIe 6331883 cPCI autoconfiguration support 6326583 PCIE support for X86 6339777 cleanup of references to obsoleted interface, pcihp_cb_ops, in pci/pci_pci nexus (x86) 6341189 assertion panic on Dell PowerEdge 6850 in apic.c: apic_irq_table[irqno]->airq_intin_no != ipin
Diffstat (limited to 'usr/src/uts/i86pc/io/pci/pci_tools.c')
-rw-r--r--usr/src/uts/i86pc/io/pci/pci_tools.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/i86pc/io/pci/pci_tools.c b/usr/src/uts/i86pc/io/pci/pci_tools.c
index 1b928610e0..9585720d6c 100644
--- a/usr/src/uts/i86pc/io/pci/pci_tools.c
+++ b/usr/src/uts/i86pc/io/pci/pci_tools.c
@@ -29,12 +29,11 @@
#include <sys/types.h>
#include <sys/mkdev.h>
#include <sys/stat.h>
-#include <sys/ddi.h>
#include <sys/sunddi.h>
#include <vm/seg_kmem.h>
#include <sys/machparam.h>
#include <sys/ontrap.h>
-#include <sys/pci.h>
+#include <sys/pcie.h>
#include <sys/hotplug/pci/pcihp.h>
#include <sys/pci_cfgspace.h>
#include <sys/pci_tools.h>
@@ -189,9 +188,8 @@ pcitool_pciex_cfg_access(dev_info_t *dip, pcitool_reg_t *prg,
prg->status = PCITOOL_SUCCESS;
- /* XXX replace e0000000 value below with 0 once FW changes are made */
prg->phys_addr = ddi_prop_get_int64(DDI_DEV_T_ANY, dip, 0,
- "ecfga-base-address", 0xe00000000);
+ "ecfga-base-address", 0);
if (prg->phys_addr == 0) {
prg->status = PCITOOL_IO_ERROR;
return (EIO);