svn commit: r199453 - stable/8/sys/dev/siis

Alexander Motin mav at FreeBSD.org
Tue Nov 17 21:28:59 UTC 2009


Author: mav
Date: Tue Nov 17 21:28:59 2009
New Revision: 199453
URL: http://svn.freebsd.org/changeset/base/199453

Log:
  MFC r199333:
  Do not require payload data to be aligned. It is not mentioned in datasheet
  and works fine in practice.

Modified:
  stable/8/sys/dev/siis/siis.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/siis/siis.c
==============================================================================
--- stable/8/sys/dev/siis/siis.c	Tue Nov 17 21:27:21 2009	(r199452)
+++ stable/8/sys/dev/siis/siis.c	Tue Nov 17 21:28:59 2009	(r199453)
@@ -579,7 +579,7 @@ siis_dmainit(device_t dev)
 	}
 	ch->dma.work_bus = dcba.maddr;
 	/* Data area. */
-	if (bus_dma_tag_create(bus_get_dma_tag(dev), 2, 0,
+	if (bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0,
 	    BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR,
 	    NULL, NULL,
 	    SIIS_SG_ENTRIES * PAGE_SIZE * SIIS_MAX_SLOTS,


More information about the svn-src-all mailing list