/**
* @see org.jnode.driver.DeviceToDriverMapper#findDriver(org.jnode.driver.Device)
*/
public Driver findDriver(Device device) {
if (device instanceof SCSIDevice) {
final SCSIDevice dev = (SCSIDevice) device;
if (dev.getDescriptor().getPeripheralDeviceType() == 0x05) {
// CD/DVD device
return new SCSICDROMDriver();
}
}
return null;