summaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_library.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-03-28 10:11:00 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-03-28 10:11:00 +0000
commitfe5b8d4638e580c46316db70ab3ae0aa87383b60 (patch)
tree8362bfc85a02d0b4c44fd184340631a32ac9f43f /sys/dev/isp/isp_library.c
parentcd035fb79abf2548a33761494e6a0510d471e0ee (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_library.c')
-rw-r--r--sys/dev/isp/isp_library.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c
index f186e50b2395..d46593e383d8 100644
--- a/sys/dev/isp/isp_library.c
+++ b/sys/dev/isp/isp_library.c
@@ -632,28 +632,6 @@ isp_clear_commands(ispsoftc_t *isp)
#endif
}
-void
-isp_shutdown(ispsoftc_t *isp)
-{
- if (IS_FC(isp)) {
- if (IS_24XX(isp)) {
- ISP_WRITE(isp, BIU2400_ICR, 0);
- ISP_WRITE(isp, BIU2400_HCCR, HCCR_2400_CMD_PAUSE);
- } else {
- ISP_WRITE(isp, BIU_ICR, 0);
- ISP_WRITE(isp, HCCR, HCCR_CMD_PAUSE);
- ISP_WRITE(isp, BIU2100_CSR, BIU2100_FPM0_REGS);
- ISP_WRITE(isp, FPM_DIAG_CONFIG, FPM_SOFT_RESET);
- ISP_WRITE(isp, BIU2100_CSR, BIU2100_FB_REGS);
- ISP_WRITE(isp, FBM_CMD, FBMCMD_FIFO_RESET_ALL);
- ISP_WRITE(isp, BIU2100_CSR, BIU2100_RISC_REGS);
- }
- } else {
- ISP_WRITE(isp, BIU_ICR, 0);
- ISP_WRITE(isp, HCCR, HCCR_CMD_PAUSE);
- }
-}
-
/*
* Functions to move stuff to a form that the QLogic RISC engine understands
* and functions to move stuff back to a form the processor understands.