1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

To handle scsi RESERVATION CONFLICT properly in ahc driver.

Could somebody please update other drivers so that SCSI_RSVD (0x18)
to be handled just like SCSI_BUSY(0x08)?

There's no need for extra state, so we use XS_BUSY for SCSI_RSVD too.

PR:		4257
This commit is contained in:
Jun-ichiro itojun Hagino 1997-08-17 14:04:08 +00:00
parent 14bb0309a4
commit 769b999aee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28297

View File

@ -39,7 +39,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: aic7xxx.c,v 1.121 1997/08/13 17:02:43 gibbs Exp $
* $Id: aic7xxx.c,v 1.122 1997/08/15 19:27:37 gibbs Exp $
*/
/*
* TODO:
@ -1357,6 +1357,11 @@ ahc_handle_seqint(ahc, intstat)
sc_print_addr(xs->sc_link);
printf("Target Busy\n");
break;
case SCSI_RSVD:
xs->error = XS_BUSY; /*XXX*/
sc_print_addr(xs->sc_link);
printf("Target Reserved\n");
break;
default:
sc_print_addr(xs->sc_link);
printf("unexpected targ_status: %x\n", hscb->status);