diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1999-09-09 19:08:44 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1999-09-09 19:08:44 +0000 |
| commit | 85a219d2017d0e1ffc28eb51592f30df7f2a699e (patch) | |
| tree | f064986d23dd12f01ceb3008f3ffa3619df89a74 /sys/dev/scd/scd.c | |
| parent | 3113e9d141bfaf3ef4f385a17cfcc46f0d5c80ec (diff) | |
Notes
Diffstat (limited to 'sys/dev/scd/scd.c')
| -rw-r--r-- | sys/dev/scd/scd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 1742fdd47819..719c86b30d91 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -258,8 +258,6 @@ 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; @@ -281,6 +279,8 @@ scdopen(dev_t dev, int flags, int fmt, struct proc *p) } } + dev->si_bsize_phys = cd->blksize; + cd->openflag = 1; cd->flags |= SCDVALID; |
