userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp
branchCompilerCompatibility
changeset 77 c4d65d91ad0c
parent 62 4a8fed1c0ef6
child 87 2f92ad2dc5db
child 124 5802e2ce68ed
equal deleted inserted replaced
74:741dcdf88ba9 77:c4d65d91ad0c
   351                  &info.iIdentification.iProductRev);
   351                  &info.iIdentification.iProductRev);
   352 
   352 
   353     if (info.iPeripheralQualifier != 0 && info.iPeripheralQualifier != 1)
   353     if (info.iPeripheralQualifier != 0 && info.iPeripheralQualifier != 1)
   354         {
   354         {
   355         __HOSTPRINT(_L("Peripheral Qualifier[Unknown device type]\n"))
   355         __HOSTPRINT(_L("Peripheral Qualifier[Unknown device type]\n"))
   356         return KErrNotSupported;
   356         return KErrUnknown;
   357         }
   357         }
   358 
   358 
   359     if (info.iPeripheralDeviceType != 0)
   359     if (info.iPeripheralDeviceType != 0)
   360         {
   360         {
   361         __HOSTPRINT(_L("Peripheral Device Type[Unsupported device type]\n"))
   361         __HOSTPRINT(_L("Peripheral Device Type[Unsupported device type]\n"))
   362         return KErrNotSupported;
   362         return KErrUnknown;
   363         }
   363         }
   364 
   364 
   365     iRemovableMedia = info.iRemovable;
   365     iRemovableMedia = info.iRemovable;
   366 
   366 
   367     // SCSI Block device
   367     // SCSI Block device