diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-11-22 14:14:12 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-11-22 14:14:12 +0000 |
commit | 2c11f73dede318e822acc869f050872a3bce9c59 (patch) | |
tree | bc79276a3887621718c2b035dc5adbf2daf52b93 /sys/dev/ic/ncr53c9x.c | |
parent | ccc027bb2ba3e9fb45f59ef7ce17214694d0f665 (diff) |
Bring last drivers fully into the NO_CCB world by replacing
TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion
between the two as was always intended. buf I/O's that can't be
started get pushed back onto the front of the queue and retried.
Others get sent back to originator as failures. No more epi-cycle
looping inside the SCSI midlayer hoping the problem goes away.
Various testers, no objection from miod@ as vs(4) was tested by
nick@.
Diffstat (limited to 'sys/dev/ic/ncr53c9x.c')
-rw-r--r-- | sys/dev/ic/ncr53c9x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index c96390e3029..b6f9b4cdeb5 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.41 2009/11/01 23:06:03 fgsch Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.42 2009/11/22 14:14:10 krw Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -811,7 +811,7 @@ ncr53c9x_scsi_cmd(xs) if (li == NULL) { /* Initialize LUN info and add to list. */ if ((li = malloc(sizeof(*li), M_DEVBUF, M_NOWAIT)) == NULL) { - return (TRY_AGAIN_LATER); + return (NO_CCB); } bzero(li, sizeof(*li)); li->last_used = time_second; |