diff options
author | mux <mux@FreeBSD.org> | 2002-12-13 21:34:35 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-12-13 21:34:35 +0000 |
commit | a6f6cc05d7f10b606af788e7a83ae76074459d1e (patch) | |
tree | 4ed6522a36958a90d9d7ea31dcd7520bcbc53cde /sys/pci/if_sis.c | |
parent | 43d82ce26df81c3c077b619993e4ee9fb6a999c4 (diff) | |
download | FreeBSD-src-a6f6cc05d7f10b606af788e7a83ae76074459d1e.zip FreeBSD-src-a6f6cc05d7f10b606af788e7a83ae76074459d1e.tar.gz |
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
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r-- | sys/pci/if_sis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 6837f39..33352b4 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -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); |