summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-10-21 18:51:55 +0000
committerjhb <jhb@FreeBSD.org>2008-10-21 18:51:55 +0000
commit7813809388e1d606a9b4f1337ec4f061de2996fb (patch)
tree7f84a62219d979a04a5ee4993aaf194c9e2e033a /sys/dev/ata
parent03f7a1b892756cd78ff85f138ffdb94cd4216670 (diff)
downloadFreeBSD-src-7813809388e1d606a9b4f1337ec4f061de2996fb.zip
FreeBSD-src-7813809388e1d606a9b4f1337ec4f061de2996fb.tar.gz
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.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/ata-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c
index 5ef1a5e..f0c207b 100644
--- a/sys/dev/ata/ata-dma.c
+++ b/sys/dev/ata/ata-dma.c
@@ -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;
OpenPOWER on IntegriCloud