Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 21:19:14 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226948 - head/sys/sparc64/sbus
Message-ID:  <201110302119.p9ULJEuU085329@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110302119.p9ULJEuU085329>