Restore the default maximum segment size for the bus dma tag to 64k as it

is in 6.x and 7.x.  The typo caused 64k transactions to be unnecessarily
split up into two PRD entries.
This commit is contained in:
jhb 2008-10-21 18:51:55 +00:00
parent 03f7a1b892
commit 7813809388

View File

@ -78,7 +78,7 @@ ata_dmainit(device_t dev)
ch->dma.unload = ata_dmaunload;
ch->dma.alignment = 2;
ch->dma.boundary = 65536;
ch->dma.segsize = 63536;
ch->dma.segsize = 65536;
ch->dma.max_iosize = 128 * DEV_BSIZE;
ch->dma.max_address = BUS_SPACE_MAXADDR_32BIT;
ch->dma.dma_slots = 6;