Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Set openings to 1; only one command may be queue...



details:   https://anonhg.NetBSD.org/src/rev/2ea229897eb2
branches:  trunk
changeset: 475920:2ea229897eb2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 29 20:41:12 1999 +0000

description:
Set openings to 1; only one command may be queued with the device at
a time.

diffstat:

 sys/dev/usb/umass.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dd03dc374d48 -r 2ea229897eb2 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Sun Aug 29 20:38:36 1999 +0000
+++ b/sys/dev/usb/umass.c       Sun Aug 29 20:41:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.7 1999/08/29 19:58:55 thorpej Exp $        */
+/*     $NetBSD: umass.c,v 1.8 1999/08/29 20:41:12 thorpej Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -316,7 +316,7 @@
        sc->sc_link.scsipi_scsi.adapter_target = UMASS_SCSIID_HOST;
        sc->sc_link.adapter = &sc->sc_adapter;
        sc->sc_link.device = &umass_dev;
-       sc->sc_link.openings = 4;               /* XXX */
+       sc->sc_link.openings = 1;
        sc->sc_link.scsipi_scsi.max_target = UMASS_SCSIID_DEVICE; /* XXX */
        sc->sc_link.scsipi_scsi.max_lun = maxlun;
        sc->sc_link.type = BUS_SCSI;



Home | Main Index | Thread Index | Old Index