diff options
author | gallatin <gallatin@FreeBSD.org> | 2001-05-31 21:47:25 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2001-05-31 21:47:25 +0000 |
commit | 70b10bbd043a07adcf94a4ba01570dca45cb0aea (patch) | |
tree | 311c12edf3114cc9068dd1b74cbf6b48999a9487 /sys/dev/pci/pci.c | |
parent | 66a9685e9fa6a8f647f4e59527d056aeb4942fb6 (diff) | |
download | FreeBSD-src-70b10bbd043a07adcf94a4ba01570dca45cb0aea.zip FreeBSD-src-70b10bbd043a07adcf94a4ba01570dca45cb0aea.tar.gz |
Backout previous revision. While it fixed many platforms, it broke
all alphas with devices behind ppb's. I'm working on a better solution now.
Note that all alphas that use per-platform interrupt mapping are broken
again (as they have been for several months)
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r-- | sys/dev/pci/pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c4b2951..3da4d29 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1207,11 +1207,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid, * If device doesn't have an interrupt routed, and is deserving of * an interrupt, try to assign it one. */ - if ((type == SYS_RES_IRQ) -#ifndef __alpha__ - && (cfg->intline == 255) && (cfg->intpin != 0) -#endif - ) { + if ((type == SYS_RES_IRQ) && (cfg->intline == 255) && (cfg->intpin != 0)) { cfg->intline = PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child, cfg->intpin); if (cfg->intline != 255) { |