From 06cacb29cafdaa7f9eae72120a7c61ca35e0ad31 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Mon, 18 Dec 2006 23:53:39 +0000 Subject: [PATCH] Restore revision 1.126 that got accidentally nuked. --- sys/dev/isp/isp_pci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index cb4588fb9c3..d7c34bcc309 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); -- 2.45.2