diff options
author | scottl <scottl@FreeBSD.org> | 2004-09-14 16:36:12 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-09-14 16:36:12 +0000 |
commit | 09e6728d98cf18f09d182cde55b709c55b2838e3 (patch) | |
tree | 7f1e6346e5161a2e18572ba7d7a7f4d36e4bfcb6 /sys/dev/amr/amr.c | |
parent | 8242ac01d6cf4f98fd9c19f836e0853c5306a0c7 (diff) | |
download | FreeBSD-src-09e6728d98cf18f09d182cde55b709c55b2838e3.zip FreeBSD-src-09e6728d98cf18f09d182cde55b709c55b2838e3.tar.gz |
Set up the data flow flag correctly so that bounced buffers have a chance of
working in amr_enquire().
Diffstat (limited to 'sys/dev/amr/amr.c')
-rw-r--r-- | sys/dev/amr/amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index a4e0fce..e575143 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -708,7 +708,7 @@ amr_enquiry(struct amr_softc *sc, size_t bufsize, u_int8_t cmd, u_int8_t cmdsub, if ((result = malloc(bufsize, M_DEVBUF, M_NOWAIT)) == NULL) goto out; /* set command flags */ - ac->ac_flags |= AMR_CMD_PRIORITY | AMR_CMD_DATAOUT; + ac->ac_flags |= AMR_CMD_PRIORITY | AMR_CMD_DATAIN; /* point the command at our data */ ac->ac_data = result; |