svn commit: r226948 - head/sys/sparc64/sbus

Marius Strobl marius at FreeBSD.org
Sun Oct 30 21:19:14 UTC 2011


Author: marius
Date: Sun Oct 30 21:19:13 2011
New Revision: 226948
URL: http://svn.freebsd.org/changeset/base/226948

Log:
  Correct the DMA constraints, the LSI64854 isn't limited to 32-bit DMA.

Modified:
  head/sys/sparc64/sbus/dma_sbus.c

Modified: head/sys/sparc64/sbus/dma_sbus.c
==============================================================================
--- head/sys/sparc64/sbus/dma_sbus.c	Sun Oct 30 21:17:42 2011	(r226947)
+++ head/sys/sparc64/sbus/dma_sbus.c	Sun Oct 30 21:19:13 2011	(r226948)
@@ -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);


More information about the svn-src-head mailing list