aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-12-26 14:52:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-12-26 14:52:29 +0000
commit44099f9129b83daf2cf174d9c1cafdb798260660 (patch)
treed1f4d1b22a54dad8f3a6d77bd292906749203530 /lib
parentd9730bd932fcd64a1a64a0cb4e271ff1a2ef81cb (diff)
downloadsrc-44099f9129b83daf2cf174d9c1cafdb798260660.tar.gz
src-44099f9129b83daf2cf174d9c1cafdb798260660.zip
Fix some breakage that prevented the Plasmon burners from being used
under -current. The actual preparation of the next track will now be deferred until just before the first write operation. Otherwise, opening the device with write intent will cause the execution of commands that are illegal in `limited command set mode' (i.e., after the write channel has been opened). While i was at it, cleaned up the worm_open() function a bit. Removed the volume overflow pre-check in worm_strategy(). It was time-consuming, and rather useless in many cases anyway (with the size being reported for just the entire volume only), so we can as well let the actual SCSI command fail instead, where it'll properly be reported as EIO. Partially submitted by & discussed with: jmz
Notes
Notes: svn path=/head/; revision=32000
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions