kernel/eka/include/d32usbdi_errors.h
changeset 36 538db54a451d
parent 0 a41df078684a
child 110 c734af59ce98
equal deleted inserted replaced
34:f497542af8e4 36:538db54a451d
    59 
    59 
    60 // Inform caller of API Misuse
    60 // Inform caller of API Misuse
    61 const TInt KErrUsbRemoteWakeupAlreadyEnabled  = -6660;
    61 const TInt KErrUsbRemoteWakeupAlreadyEnabled  = -6660;
    62 const TInt KErrUsbRemoteWakeupAlreadyDisabled = -6661;
    62 const TInt KErrUsbRemoteWakeupAlreadyDisabled = -6661;
    63 const TInt KErrUsbAlreadyResumed              = -6662;
    63 const TInt KErrUsbAlreadyResumed              = -6662;
       
    64 
       
    65 /*
       
    66 The following two codes are used to indicate attachment/detachment of some malfunction 
       
    67 USB peripherals, which behaviour don't comply with USB specification. For example, some 
       
    68 hubs drive their upstream port VBus, however such behaviour is not allowed according to USB specification. 
       
    69 */
       
    70 const TInt KErrUsbBadDeviceAttached           = -6663;
       
    71 const TInt KEventUsbBadDeviceDetached         = -6664;
    64 
    72 
    65 namespace UsbdiPanics
    73 namespace UsbdiPanics
    66 	{
    74 	{
    67 	_LIT(KUsbHubDriverPanicCat, "USBHubDriver");
    75 	_LIT(KUsbHubDriverPanicCat, "USBHubDriver");
    68 	enum TUsbHubDriverPanics
    76 	enum TUsbHubDriverPanics