Examples of VitalProductDataPageName


Examples of org.jscsi.target.scsi.inquiry.PageCode.VitalProductDataPageName

                IResponseData responseData = null;

                if (!cdb.getEnableVitalProductData()) {
                    responseData = StandardInquiryData.getInstance();
                } else {
                    final VitalProductDataPageName pageName = cdb.getPageCode().getVitalProductDataPageName();

                    switch (pageName) {// is never null
                        case SUPPORTED_VPD_PAGES :
                            responseData = SupportedVpdPages.getInstance();
                            break;
View Full Code Here

Examples of org.jscsi.target.scsi.inquiry.PageCode.VitalProductDataPageName

        pageCode = new PageCode(buffer.get(2));

        // allocation length
        allocationLength = ReadWrite.readTwoByteInt(buffer, 3);

        final VitalProductDataPageName vpdpn = pageCode.getVitalProductDataPageName();
        if (enableVitalProductData) {
            if (!SupportedVpdPages.vpdPageCodeSupported(vpdpn)) addIllegalFieldPointer(2);// page code not supported
        } else {
            /*
             * If the PAGE CODE field is not set to zero when the EVPD bit is set to zero, the command shall be
View Full Code Here

Examples of org.jscsi.target.scsi.inquiry.PageCode.VitalProductDataPageName

            } else {
                /*
                 * SCSI initiator is requesting either "device identification" or "supported VPD pages" or this else
                 * block would not have been entered. (see {@link InquiryCDB#checkIntegrity(ByteBuffer dataSegment)})
                 */
                final VitalProductDataPageName pageName = cdb.getPageCode().getVitalProductDataPageName();

                switch (pageName) {// is never null
                    case SUPPORTED_VPD_PAGES :
                        responseData = SupportedVpdPages.getInstance();
                        break;
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.