Examples of SCSIDevice


Examples of org.jnode.driver.bus.scsi.SCSIDevice

    /**
     * @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;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.