diff options
author | jmz <jmz@FreeBSD.org> | 1997-05-19 17:30:50 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1997-05-19 17:30:50 +0000 |
commit | 14ab45bc6e05fd54691432802eac1df52ca86f4e (patch) | |
tree | 3eee2db304e2bfa978e549395c66c0e530a734ff /COPYRIGHT | |
parent | 05ead07af8a82e6b93f86e319369d9ff7bcd6684 (diff) | |
download | FreeBSD-src-14ab45bc6e05fd54691432802eac1df52ca86f4e.zip FreeBSD-src-14ab45bc6e05fd54691432802eac1df52ca86f4e.tar.gz |
A few improvements to the worm driver.
- remove all calls to scsi_stop_unit(). Some drives refuse commands when
stopped. This will fix the 'device not configured' message which was
cleared after opening/closing the tray.
- Never set the logical block address in the scsi_cmd struct when writing.
The computation was bogus for block sizes not a multiple of DEV_BSIZE.
(the bug is still there in the READ case)
- reset the block size to the 2048 bytes in finalize_track() track to avoid
an error when mounting a disk after an audio write.
- remove the WORMIOCQUIRKSELECT ioctl. Quirks are now recorded at probe time
(see scsiconf.c)
- change and expand the argument to the WORMIOCPREPTRACK ioctl. It now possible
to select more track options (copy bits, ISRC codes, track type,
track number)
- add an error handler to catch false errors (warnings in fact) and record
the error type.
- add an ioctl call (WORMIOERROR) to get more information on the nature of the
error when a command or a write failed.
- add an ioctl call (WORMIOCFINISHTRACK) to finalize a track without closing
the device (closing the device still finalize the track if the command was
not performed)
Approved by: joerg
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions