diff options
| author | thorpej <thorpej@NetBSD.org> | 1997-10-01 05:39:56 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1997-10-01 05:39:56 +0000 |
| commit | c557d7e759372785cae50cd333cd79fcd37a5fb9 (patch) | |
| tree | 03127df3fa89bfddba97417cba1077c6b41c1a0c /sys | |
| parent | 7f55972efc652f89c7d4d3d0fba1904f5de69504 (diff) | |
Add missing SCSI_DATA_IN when issuing a READ_ELEMENT_STATUS command.
Noticed by Dave Huang <khym@bga.com>.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/scsipi/ch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scsipi/ch.c b/sys/dev/scsipi/ch.c index 34e3a31b62e..4c321604d02 100644 --- a/sys/dev/scsipi/ch.c +++ b/sys/dev/scsipi/ch.c @@ -1,4 +1,4 @@ -/* $NetBSD: ch.c,v 1.29 1997/10/01 01:18:50 enami Exp $ */ +/* $NetBSD: ch.c,v 1.30 1997/10/01 05:39:56 thorpej Exp $ */ /* * Copyright (c) 1996, 1997 Jason R. Thorpe <thorpej@and.com> @@ -620,7 +620,7 @@ ch_getelemstatus(sc, first, count, data, datalen) */ return ((*sc->sc_link->scsipi_cmd)(sc->sc_link, (struct scsipi_generic *)&cmd, sizeof(cmd), - (u_char *)data, datalen, CHRETRIES, 100000, NULL, 0)); + (u_char *)data, datalen, CHRETRIES, 100000, NULL, SCSI_DATA_IN)); } |
