Lines 1032-1038
cdstart(struct cam_periph *periph, union ccb *start_ccb)
Link Here
|
1032 |
* If the CD is already locked, we don't need to do this. |
1032 |
* If the CD is already locked, we don't need to do this. |
1033 |
* Move on to the capacity check. |
1033 |
* Move on to the capacity check. |
1034 |
*/ |
1034 |
*/ |
1035 |
if ((softc->flags & CD_FLAG_DISC_LOCKED) != 0) { |
1035 |
if (softc->state == CD_STATE_MEDIA_PREVENT && |
|
|
1036 |
(softc->flags & CD_FLAG_DISC_LOCKED) != 0) { |
1036 |
softc->state = CD_STATE_MEDIA_SIZE; |
1037 |
softc->state = CD_STATE_MEDIA_SIZE; |
1037 |
xpt_release_ccb(start_ccb); |
1038 |
xpt_release_ccb(start_ccb); |
1038 |
xpt_schedule(periph, CAM_PRIORITY_NORMAL); |
1039 |
xpt_schedule(periph, CAM_PRIORITY_NORMAL); |