From 7def0bc767d035b930e9193ee5e772ff85fc1766 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 1 Sep 1999 13:03:05 +0000 Subject: Set si_bsize_phys and si_bsize_max in all legacy CD drivers. --- sys/i386/isa/mcd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/i386/isa/mcd.c') diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index 5ab40ef..37bd508 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -296,6 +296,8 @@ int mcdopen(dev_t dev, int flags, int fmt, struct proc *p) if (!(cd->flags & MCDVALID) && cd->openflags) return ENXIO; + dev->si_bsize_phys = 2048; + dev->si_bsize_max = MAXBSIZE; if (mcd_getstat(unit,1) == -1) return EIO; -- cgit v1.1