From 5319fb62a8b47d0bbd9119a28b0cebf077d6ca71 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 16 Nov 2009 20:54:47 +0000 Subject: [PATCH] Do not require payload data to be aligned. It is not mentioned in datasheet and works fine in practice. --- sys/dev/siis/siis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c index 73786f3a613e..1693883f3d96 100644 --- a/sys/dev/siis/siis.c +++ b/sys/dev/siis/siis.c @@ -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,