diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-04-13 23:42:55 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-04-13 23:42:55 +0000 |
commit | e3b952f31dcfae9a22362d14d5feafbb2aeaf007 (patch) | |
tree | 3290e51b75681818273d3f2f6dae8ae840a28066 /sys/dev/ida | |
parent | b29ec37cc75099158410708d464de76c5dbfd673 (diff) | |
download | FreeBSD-src-e3b952f31dcfae9a22362d14d5feafbb2aeaf007.zip FreeBSD-src-e3b952f31dcfae9a22362d14d5feafbb2aeaf007.tar.gz |
Change the maximum I/O transfer size to DFLTPHYS. This should fix
write corruption that some users were experiencing.
Diffstat (limited to 'sys/dev/ida')
-rw-r--r-- | sys/dev/ida/ida_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 64a8dac..3694f62 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -258,7 +258,7 @@ idattach(device_t dev) &id_cdevsw, &iddisk_cdevsw); dsk->si_drv1 = drv; - dsk->si_iosize_max = 256 * drv->secsize; /* XXX guess? */ + dsk->si_iosize_max = DFLTPHYS; /* XXX guess? */ disks_registered++; return (0); |