Correct a harmless problem when creating the DMA tag

used to map mbufs.  The maximum size should be MCLBYTES
and not SIS_TX_LIST_SZ.  This is probably a typo in
the original commit.

Tested by:	cognet
This commit is contained in:
Maxime Henrion 2002-12-13 21:34:35 +00:00
parent 821a4d01ea
commit 84c64d8895

View File

@ -1031,7 +1031,7 @@ sis_attach(dev)
BUS_SPACE_MAXADDR, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */
NULL, NULL, /* filter, filterarg */
SIS_TX_LIST_SZ, 1, /* maxsize,nsegments */
MCLBYTES, 1, /* maxsize,nsegments */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
0, /* flags */
&sc->sis_tag);