aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2004-04-28 13:43:11 +0000
committerThomas Moestl <tmm@FreeBSD.org>2004-04-28 13:43:11 +0000
commitfe2c61013d51259d23e0b3dd5e0dbe14450428a6 (patch)
treea39d13ec6c97241ced31d9c9fe4f1c867016044e /sys
parentd8337944e0fe447407a0a7fb1df8d2e8024b0836 (diff)
Notes
Diffstat (limited to 'sys')
-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 cf84596381dd..f82b3f7ba515 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;