1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Set up the data flow flag correctly so that bounced buffers have a chance of

working in amr_enquire().
This commit is contained in:
Scott Long 2004-09-14 16:36:12 +00:00
parent b7e096886f
commit 0dde762cb8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135236

View File

@ -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) if ((result = malloc(bufsize, M_DEVBUF, M_NOWAIT)) == NULL)
goto out; goto out;
/* set command flags */ /* 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 */ /* point the command at our data */
ac->ac_data = result; ac->ac_data = result;