diff options
author | marius <marius@FreeBSD.org> | 2011-10-30 21:19:13 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-10-30 21:19:13 +0000 |
commit | c0f6f83d04839976b18e848343f5975d3ae29de5 (patch) | |
tree | fee16b128fb471ef88bf87aeca8b9e994b3f69f3 /sys/sparc64/sbus | |
parent | e4f8c28c9ecf741604e252a1cb1ffe6c9e2ebb8a (diff) | |
download | FreeBSD-src-c0f6f83d04839976b18e848343f5975d3ae29de5.zip FreeBSD-src-c0f6f83d04839976b18e848343f5975d3ae29de5.tar.gz |
Correct the DMA constraints, the LSI64854 isn't limited to 32-bit DMA.
Diffstat (limited to 'sys/sparc64/sbus')
-rw-r--r-- | sys/sparc64/sbus/dma_sbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/sbus/dma_sbus.c b/sys/sparc64/sbus/dma_sbus.c index 2594243..8eee8da 100644 --- a/sys/sparc64/sbus/dma_sbus.c +++ b/sys/sparc64/sbus/dma_sbus.c @@ -233,9 +233,9 @@ dma_attach(device_t dev) BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ - BUS_SPACE_MAXSIZE_32BIT, /* maxsize */ - 0, /* nsegments */ - BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */ + BUS_SPACE_MAXSIZE, /* maxsize */ + BUS_SPACE_UNRESTRICTED, /* nsegments */ + BUS_SPACE_MAXSIZE, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* no locking */ &lsc->sc_parent_dmat); |