1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Alloc two DMA slots pr default, silly me forgot that slaves still exists.

This commit is contained in:
Søren Schmidt 2008-04-17 18:11:47 +00:00
parent 6b9ff6b7a7
commit 1b164f3101
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178281

View File

@ -81,7 +81,7 @@ ata_dmainit(device_t dev)
ch->dma.segsize = 63536;
ch->dma.max_iosize = 128 * DEV_BSIZE;
ch->dma.max_address = BUS_SPACE_MAXADDR_32BIT;
ch->dma.dma_slots = 1;
ch->dma.dma_slots = 2;
if (bus_dma_tag_create(bus_get_dma_tag(dev), ch->dma.alignment, 0,
ch->dma.max_address, BUS_SPACE_MAXADDR,