summaryrefslogtreecommitdiffstats
path: root/sys/dev/siis
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-11-16 20:54:47 +0000
committermav <mav@FreeBSD.org>2009-11-16 20:54:47 +0000
commit70dd59cc69bba97e3f0cede41d927cbdb747b19e (patch)
tree55df8160c86357b1da6c1ed64af28a46f9c87daf /sys/dev/siis
parentba3d4416932cde46e25fb7bcaecff81d59d2770f (diff)
downloadFreeBSD-src-70dd59cc69bba97e3f0cede41d927cbdb747b19e.zip
FreeBSD-src-70dd59cc69bba97e3f0cede41d927cbdb747b19e.tar.gz
Do not require payload data to be aligned. It is not mentioned in datasheet
and works fine in practice.
Diffstat (limited to 'sys/dev/siis')
-rw-r--r--sys/dev/siis/siis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c
index 73786f3..1693883 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,
OpenPOWER on IntegriCloud