Change the maximum I/O transfer size to DFLTPHYS. This should fix

write corruption that some users were experiencing.
This commit is contained in:
Jonathan Lemon 2000-04-13 23:42:55 +00:00
parent 347b695801
commit e6affa6696

View File

@ -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);