summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha/aha.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-11 01:17:07 +0000
committerimp <imp@FreeBSD.org>2005-01-11 01:17:07 +0000
commit3fba2d8bb33bb85c7359fa9087c8cae7ae40ce99 (patch)
treed9c503660176819f41671dc63d86053c8feaa5f1 /sys/dev/aha/aha.c
parent66b769150f0ef4785bd03079a94eccdadd165fcb (diff)
downloadFreeBSD-src-3fba2d8bb33bb85c7359fa9087c8cae7ae40ce99.zip
FreeBSD-src-3fba2d8bb33bb85c7359fa9087c8cae7ae40ce99.tar.gz
Final attempt to make aha 1542A working. If not, oh well, I don't
have the card and no way to reproduce problems. We do this by applying the workaround to firmware revsion 0. PR: 14334
Diffstat (limited to 'sys/dev/aha/aha.c')
-rw-r--r--sys/dev/aha/aha.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index 9a22328..c869e95 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -1,10 +1,11 @@
-/*-
+/*
* Generic register and struct definitions for the Adaptech 154x/164x
* SCSI host adapters. Product specific probe and attach routines can
* be found in:
- * aha 1542B/1542C/1542CF/1542CP aha_isa.c
+ * aha 1542A/1542B/1542C/1542CF/1542CP aha_isa.c
* aha 1640 aha_mca.c
- *
+ */
+/*-
* Copyright (c) 1998 M. Warner Losh.
* All Rights Reserved.
*
@@ -1286,9 +1287,7 @@ ahadone(struct aha_softc *aha, struct aha_ccb *accb, aha_mbi_comp_code_t comp_co
aha_name(aha), accb->hccb.opcode,
&accb->hccb);
device_printf(aha->dev,
- "AHA-1540A detected, maybe compensating\n");
- aha->ccb_sg_opcode = INITIATOR_SG_CCB;
- aha->ccb_ccb_opcode = INITIATOR_CCB;
+ "AHA-1540A compensation failed\n");
xpt_freeze_devq(ccb->ccb_h.path, /*count*/1);
csio->ccb_h.status = CAM_REQUEUE_REQ;
break;
OpenPOWER on IntegriCloud