summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-02-18 00:00:34 +0000
committermjacob <mjacob@FreeBSD.org>2002-02-18 00:00:34 +0000
commite4ecbf2c51e25b15585a4d7af9e7ce6f8a56a299 (patch)
treeddea077bfbe94688db63926550e711f058ff28d1 /sys/dev/isp/isp.c
parentcdc3c37e6597d9fd5fca412b23c5292c3c45b903 (diff)
downloadFreeBSD-src-e4ecbf2c51e25b15585a4d7af9e7ce6f8a56a299.zip
FreeBSD-src-e4ecbf2c51e25b15585a4d7af9e7ce6f8a56a299.tar.gz
More for f/w crash dumps (bug fixing and adding ioctl entry points
and hints to enable for specific units) MFC after: 1 week
Diffstat (limited to 'sys/dev/isp/isp.c')
-rw-r--r--sys/dev/isp/isp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index 6f95a20..6e10691 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -5814,7 +5814,7 @@ static void isp2300_fw_dump(struct ispsoftc *);
static void
isp2200_fw_dump(struct ispsoftc *isp)
{
- int i, j, k;
+ int i, j;
mbreg_t mbs;
u_int16_t *ptr;
@@ -5957,7 +5957,7 @@ isp2200_fw_dump(struct ispsoftc *isp)
static void
isp2300_fw_dump(struct ispsoftc *isp)
{
- int i, j, k;
+ int i, j;
mbreg_t mbs;
u_int16_t *ptr;
@@ -6121,7 +6121,7 @@ isp_fw_dump(struct ispsoftc *isp)
{
if (IS_2200(isp))
isp2200_fw_dump(isp);
- else if (IS_2300(isp))
+ else if (IS_23XX(isp))
isp2300_fw_dump(isp);
}
#endif
OpenPOWER on IntegriCloud