diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-18 23:53:39 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-18 23:53:39 +0000 |
commit | 9fc60c2d65e04cad032e11c0796b892b295c87d0 (patch) | |
tree | 014eb35367928c23a6a71beb10f3b08257734ef3 /sys/dev | |
parent | cfa4643f5172ba5db76a50edf1b83f4e2a636b5b (diff) | |
download | FreeBSD-src-9fc60c2d65e04cad032e11c0796b892b295c87d0.zip FreeBSD-src-9fc60c2d65e04cad032e11c0796b892b295c87d0.tar.gz |
Restore revision 1.126 that got accidentally nuked.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index cb4588f..d7c34bc 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); |