diff options
author | phk <phk@FreeBSD.org> | 1999-08-28 08:10:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-28 08:10:13 +0000 |
commit | c15e61ea99068f573e717c13abfaad318dbdb9c9 (patch) | |
tree | eebcd31029c24a1f845c1cd33cb05da614a0b4c9 /sys/isa/fd.c | |
parent | 4551595b846af254999fab22023d265fa6b2aedc (diff) | |
download | FreeBSD-src-c15e61ea99068f573e717c13abfaad318dbdb9c9.zip FreeBSD-src-c15e61ea99068f573e717c13abfaad318dbdb9c9.tar.gz |
Initialize dev->si_bsize*, the floppy driver doesn't use dsopen().
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r-- | sys/isa/fd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index ce2ea33..7704cca 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -1226,6 +1226,9 @@ Fdopen(dev_t dev, int flags, int mode, struct proc *p) fd_p fd; fdc_p fdc; + dev->si_bsize_phys = DEV_BSIZE; + dev->si_bsize_best = BLKDEV_IOSIZE; + dev->si_bsize_max = MAXBSIZE; /* check bounds */ if ((fd = devclass_get_softc(fd_devclass, fdu)) == 0) return (ENXIO); |