aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_pci.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2006-12-18 23:53:39 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2006-12-18 23:53:39 +0000
commit06cacb29cafdaa7f9eae72120a7c61ca35e0ad31 (patch)
tree014eb35367928c23a6a71beb10f3b08257734ef3 /sys/dev/isp/isp_pci.c
parent805e1f828c03606752bf0e60433158ed728a27f5 (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r--sys/dev/isp/isp_pci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index cb4588fb9c33..d7c34bcc3092 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -1055,6 +1055,7 @@ isp_pci_attach(device_t dev)
cmd &= ~PCIM_CMD_INTX_DISABLE;
}
+#ifdef WE_KNEW_WHAT_WE_WERE_DOING
if (IS_24XX(isp)) {
int reg;
@@ -1086,6 +1087,11 @@ isp_pci_attach(device_t dev)
pci_write_config(dev, reg, 2, pectl);
}
}
+#else
+ if (IS_24XX(isp)) {
+ cmd &= ~PCIM_CMD_INTX_DISABLE;
+ }
+#endif
pci_write_config(dev, PCIR_COMMAND, cmd, 2);