Correct an invalid (and unused) #define in 93cx6.c
Freeze the transaction queue for any type of scsi status other than "okay".
This commit is contained in:
parent
2ea77ad9af
commit
5a151d297c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45445
@ -18,7 +18,7 @@
|
||||
* 4. Modifications may be freely made to this file if the above conditions
|
||||
* are met.
|
||||
*
|
||||
* $Id: 93cx6.c,v 1.10 1997/02/22 09:38:36 peter Exp $
|
||||
* $Id: 93cx6.c,v 1.1 1998/09/15 07:24:16 gibbs Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -160,7 +160,7 @@ read_seeprom(sd, buf, start_addr, count)
|
||||
SEEPROM_OUTB(sd, temp);
|
||||
CLOCK_PULSE(sd, sd->sd_RDY);
|
||||
}
|
||||
#ifdef 93CX6_DUMP_EEPROM
|
||||
#ifdef DUMP_93CX6_EEPROM
|
||||
printf("\nSerial EEPROM:");
|
||||
for (k = 0; k < count; k = k + 1) {
|
||||
if (((k % 8) == 0) && (k != 0)) {
|
||||
|
@ -36,7 +36,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aic7xxx.c,v 1.19 1999/03/08 22:42:52 gibbs Exp $
|
||||
* $Id: aic7xxx.c,v 1.20 1999/03/23 07:24:26 gibbs Exp $
|
||||
*/
|
||||
/*
|
||||
* A few notes on features of the driver.
|
||||
@ -1872,6 +1872,9 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
|
||||
break;
|
||||
}
|
||||
ahc_set_ccb_status(scb->ccb, CAM_SCSI_STATUS_ERROR);
|
||||
/* Freeze the queue unit the client sees the error. */
|
||||
ahc_freeze_devq(ahc, scb->ccb->ccb_h.path);
|
||||
ahc_freeze_ccb(scb->ccb);
|
||||
csio = &scb->ccb->csio;
|
||||
csio->scsi_status = hscb->status;
|
||||
switch (hscb->status) {
|
||||
@ -1971,9 +1974,6 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
|
||||
scb->ccb->ccb_h.timeout_ch);
|
||||
scb->ccb->ccb_h.timeout_ch =
|
||||
timeout(ahc_timeout, (caddr_t)scb, 5 * hz);
|
||||
/* Freeze the queue while the sense occurs. */
|
||||
ahc_freeze_devq(ahc, scb->ccb->ccb_h.path);
|
||||
ahc_freeze_ccb(scb->ccb);
|
||||
}
|
||||
break;
|
||||
case SCSI_STATUS_BUSY:
|
||||
|
@ -18,7 +18,7 @@
|
||||
* 4. Modifications may be freely made to this file if the above conditions
|
||||
* are met.
|
||||
*
|
||||
* $Id: 93cx6.c,v 1.10 1997/02/22 09:38:36 peter Exp $
|
||||
* $Id: 93cx6.c,v 1.1 1998/09/15 07:24:16 gibbs Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -160,7 +160,7 @@ read_seeprom(sd, buf, start_addr, count)
|
||||
SEEPROM_OUTB(sd, temp);
|
||||
CLOCK_PULSE(sd, sd->sd_RDY);
|
||||
}
|
||||
#ifdef 93CX6_DUMP_EEPROM
|
||||
#ifdef DUMP_93CX6_EEPROM
|
||||
printf("\nSerial EEPROM:");
|
||||
for (k = 0; k < count; k = k + 1) {
|
||||
if (((k % 8) == 0) && (k != 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user