diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-01 13:03:05 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-01 13:03:05 +0000 |
commit | db6f05bfac841519afb94e58702da8913fd26568 (patch) | |
tree | 15406e297c947306f5ddca2d8f9139d82f27b405 /sys/dev/mcd | |
parent | c6b85633cb475c00d5ce634a12650af2edcb2534 (diff) | |
download | src-db6f05bfac841519afb94e58702da8913fd26568.tar.gz src-db6f05bfac841519afb94e58702da8913fd26568.zip |
Set si_bsize_phys and si_bsize_max in all legacy CD drivers.
Notes
Notes:
svn path=/head/; revision=50748
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r-- | sys/dev/mcd/mcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 5ab40ef0761c..37bd50842e56 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/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; |