summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-01 13:03:05 +0000
committerphk <phk@FreeBSD.org>1999-09-01 13:03:05 +0000
commit7def0bc767d035b930e9193ee5e772ff85fc1766 (patch)
treeadc3702375783ad134a02f7a439c41f548862405 /sys/dev/scd
parent15e27f246fc8ff93aa5ac215cb9648046c5d8b9f (diff)
downloadFreeBSD-src-7def0bc767d035b930e9193ee5e772ff85fc1766.zip
FreeBSD-src-7def0bc767d035b930e9193ee5e772ff85fc1766.tar.gz
Set si_bsize_phys and si_bsize_max in all legacy CD drivers.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 5ec3ead..1742fdd 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -258,6 +258,8 @@ scdopen(dev_t dev, int flags, int fmt, struct proc *p)
XDEBUG(1,("scd%d: DEBUG: status = 0x%x\n", unit, inb(cd->iobase+IREG_STATUS)));
+ dev->si_bsize_phys = 2048;
+ dev->si_bsize_max = MAXBSIZE;
if ((rc = spin_up(unit)) != 0) {
print_error(unit, rc);
return EIO;
OpenPOWER on IntegriCloud