svn commit: r226949 - head/sys/sparc64/sbus
Marius Strobl
marius at FreeBSD.org
Sun Oct 30 21:42:35 UTC 2011
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.
More information about the svn-src-head
mailing list