Ticket #2375: start_stop_unit.diff
File start_stop_unit.diff, 1.0 KB (added by , 16 years ago) |
---|
-
src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp
840 840 usb_disk_synchronize(lun, true); 841 841 break; 842 842 843 case B_EJECT_DEVICE: 844 return usb_disk_operation(lun, SCSI_START_STOP_UNIT_6, 6, 0, 2, 845 NULL, NULL, false); 846 843 847 default: 844 848 TRACE_ALWAYS("unhandled ioctl %ld\n", op); 845 849 break; -
src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk_scsi.h
13 13 SCSI_TEST_UNIT_READY_6 = 0x00, 14 14 SCSI_REQUEST_SENSE_6 = 0x03, 15 15 SCSI_INQUIRY_6 = 0x12, 16 SCSI_START_STOP_UNIT_6 = 0x1b, 16 17 SCSI_READ_CAPACITY_10 = 0x25, 17 18 SCSI_READ_10 = 0x28, 18 19 SCSI_WRITE_10 = 0x2a,