svn commit: r199333 - head/sys/dev/siis
Alexander Motin
mav at FreeBSD.org
Mon Nov 16 20:54:48 UTC 2009
Author: mav
Date: Mon Nov 16 20:54:47 2009
New Revision: 199333
URL: http://svn.freebsd.org/changeset/base/199333
Log:
Do not require payload data to be aligned. It is not mentioned in datasheet
and works fine in practice.
Modified:
head/sys/dev/siis/siis.c
Modified: head/sys/dev/siis/siis.c
==============================================================================
--- head/sys/dev/siis/siis.c Mon Nov 16 20:36:43 2009 (r199332)
+++ head/sys/dev/siis/siis.c Mon Nov 16 20:54:47 2009 (r199333)
@@ -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-head
mailing list