From e6affa669686f855b22b37482d170ba912c22d35 Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Thu, 13 Apr 2000 23:42:55 +0000 Subject: Change the maximum I/O transfer size to DFLTPHYS. This should fix write corruption that some users were experiencing. --- sys/dev/ida/ida_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 64a8dacf6193..3694f626b8e9 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); -- cgit v1.3