aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2001-05-27 22:22:03 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2001-05-27 22:22:03 +0000
commitd6a516cf807fcc991c6447fc6b571e77222a352a (patch)
treef0c4df900425f2a6dd471801de9552cb3dedd277 /sys/dev
parent88bc7f853c0308928538bf63842b8da6f2612d30 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 3da4d2996265..c4b29514c1d4 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1207,7 +1207,11 @@ 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) && (cfg->intline == 255) && (cfg->intpin != 0)) {
+ if ((type == SYS_RES_IRQ)
+#ifndef __alpha__
+ && (cfg->intline == 255) && (cfg->intpin != 0)
+#endif
+ ) {
cfg->intline = PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child,
cfg->intpin);
if (cfg->intline != 255) {