Do not require payload data to be aligned. It is not mentioned in datasheet
and works fine in practice.
This commit is contained in:
parent
185d20b5f9
commit
5319fb62a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199333
@ -579,7 +579,7 @@ siis_dmainit(device_t dev)
|
|||||||
}
|
}
|
||||||
ch->dma.work_bus = dcba.maddr;
|
ch->dma.work_bus = dcba.maddr;
|
||||||
/* Data area. */
|
/* 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,
|
BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR,
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
SIIS_SG_ENTRIES * PAGE_SIZE * SIIS_MAX_SLOTS,
|
SIIS_SG_ENTRIES * PAGE_SIZE * SIIS_MAX_SLOTS,
|
||||||
|
Loading…
Reference in New Issue
Block a user