Patch from Julian. Commit message by me.
authorRod Grimes <rgrimes@FreeBSD.org>
Sat, 29 Jan 1994 10:30:41 +0000 (10:30 +0000)
committerRod Grimes <rgrimes@FreeBSD.org>
Sat, 29 Jan 1994 10:30:41 +0000 (10:30 +0000)
commit46d39670be15554345b42baf637c695da4bcae2f
tree0ab691ba09098cf983a62bc90d05e87a977b46d8
parent150c775c265b98315a873f81724461e38421fec9
Patch from Julian.  Commit message by me.

cd.c:
Initialize channel info in CDIOCSETVOL ioctl.
Correct CDIOCSTOP and CDIOCEJCET ioctls to use scsi_stop_unit
instead of scsi_start_unit.
Add CDIOCALLOW and CDIOCPREVENT ioctls.

ch.h:
Return EBUSY instead of ENXIO if the device is already in use.

scsi_base.c:
Add scsi_stop_unit routine.

sd.c:
Add mising indirection through sc_link to sd_get_parms routine
when checking for media loaded.

st.c:
Return EBUSY instead of ENXIO if the device is already in use.
Clear the SDEV_WAITING flag in ststart if we do the wakeup call.
sys/scsi/cd.c
sys/scsi/ch.c
sys/scsi/scsi_base.c
sys/scsi/sd.c
sys/scsi/st.c