Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 21:42:35 +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: r226949 - head/sys/sparc64/sbus
Message-ID:  <201110302142.p9ULgZTD086047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Oct 30 21:42:35 2011
New Revision: 226949
URL: http://svn.freebsd.org/changeset/base/226949

Log:
  Actually, limit to 32-bit DMA for the transfer buffers as the address is
  written into a 32-bit register.

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

Modified: head/sys/sparc64/sbus/lsi64854.c
==============================================================================
--- head/sys/sparc64/sbus/lsi64854.c	Sun Oct 30 21:19:13 2011	(r226948)
+++ head/sys/sparc64/sbus/lsi64854.c	Sun Oct 30 21:42:35 2011	(r226949)
@@ -161,7 +161,7 @@ lsi64854_attach(struct lsi64854_softc *s
 		error = bus_dma_tag_create(
 		    sc->sc_parent_dmat,		/* parent */
 		    1, BOUNDARY,		/* alignment, boundary */
-		    BUS_SPACE_MAXADDR,		/* lowaddr */
+		    BUS_SPACE_MAXADDR_32BIT,	/* lowaddr */
 		    BUS_SPACE_MAXADDR,		/* highaddr */
 		    NULL, NULL,			/* filter, filterarg */
 		    sc->sc_maxdmasize,		/* maxsize */
@@ -462,7 +462,7 @@ lsi64854_setup(struct lsi64854_softc *sc
 
 /*
  * Pseudo (chained) interrupt from the esp driver to kick the
- * current running DMA transfer. Called from ncr53c9x_intr()
+ * current running DMA transfer.  Called from ncr53c9x_intr()
  * for now.
  *
  * return 1 if it was a DMA continue.



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