summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2004-04-28 13:43:11 +0000
committertmm <tmm@FreeBSD.org>2004-04-28 13:43:11 +0000
commit2f1180c1cac0aad3a7c2b71fd3c73b0c81f46cd6 (patch)
treea39d13ec6c97241ced31d9c9fe4f1c867016044e /sys/dev/pci
parentc37cc5e191d567fe04506549ff2e4fa3f06870ad (diff)
downloadFreeBSD-src-2f1180c1cac0aad3a7c2b71fd3c73b0c81f46cd6.zip
FreeBSD-src-2f1180c1cac0aad3a7c2b71fd3c73b0c81f46cd6.tar.gz
Remove the EBus stopgap of r1.248; a proper fix is in place now.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index cf84596..f82b3f7 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -825,14 +825,6 @@ pci_add_map(device_t pcib, device_t bus, device_t dev,
if (base == 0)
return 1;
-#ifdef __sparc64__
- /* Sun EBus bridges contain the ranges for the devices beyond them */
- if ((pci_get_class(dev) == PCIC_BRIDGE) &&
- (pci_get_vendor(dev) == 0x108e) &&
- (pci_get_device(dev) == 0x1000 || pci_get_device(dev) == 0x1100))
- return 1;
-#endif
-
start = base;
end = base + (1 << ln2size) - 1;
count = 1 << ln2size;
OpenPOWER on IntegriCloud