aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2002-04-10 07:35:28 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2002-04-10 07:35:28 +0000
commit2334e40985dce56e7bb6fe3a1594bbe71ab5d061 (patch)
tree3cce2e7b0afa77bdeb53944cd42c03f16da14aef /sys/dev
parentd637e9891d1e502cca739552b3ea52fa3823d8ff (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 af6500beddf9..96b81bcd02a7 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -750,7 +750,11 @@ pci_add_resources(device_t pcib, int b, int s, int f, device_t dev)
pci_add_map(pcib, b, s, f, q->arg1, rl);
}
- if (cfg->intpin > 0 && cfg->intline != 255) {
+ if (cfg->intpin > 0 && cfg->intline != 255
+#ifdef __i386__
+ && cfg->intline != 0
+#endif
+ ) {
#ifdef __ia64__
/*
* Re-route interrupts on ia64 so that we can get the