kernel/eka/include/d32usbdi_errors.h
changeset 45 329ab0095843
parent 43 96e5fb8b040d
child 110 c734af59ce98
equal deleted inserted replaced
44:36bfc973b146 45:329ab0095843
    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