summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_pci.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-11-18 03:53:16 +0000
committermjacob <mjacob@FreeBSD.org>2006-11-18 03:53:16 +0000
commit5af654c5862709158954dcd905ab90b7b4543c24 (patch)
tree786890bd8855d5539d11081e2bf6044e5553adbf /sys/dev/isp/isp_pci.c
parentedc10a6695602b387851a4829c5b186ed1053cd2 (diff)
downloadFreeBSD-src-5af654c5862709158954dcd905ab90b7b4543c24.zip
FreeBSD-src-5af654c5862709158954dcd905ab90b7b4543c24.tar.gz
Make the SAN login/logout stuff more common between different chipsets
and provied an isp_control entry point so that the outer layers can do PLOGI/LOGO explicitly. Add MS IOCB support. This completes the cycle for base support for SMI-S.
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r--sys/dev/isp/isp_pci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index ee62276..2f9c9a5 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -1057,7 +1057,6 @@ isp_pci_attach(device_t dev)
cmd &= ~PCIM_CMD_INTX_DISABLE;
}
-#ifdef WE_KNEW_WHAT_WE_WERE_DOING
if (IS_24XX(isp)) {
int reg;
@@ -1089,11 +1088,6 @@ 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);
OpenPOWER on IntegriCloud