kernel/eka/include/d32usbdi_errors.h
changeset 45 329ab0095843
parent 43 96e5fb8b040d
child 110 c734af59ce98
--- a/kernel/eka/include/d32usbdi_errors.h	Thu Jan 07 13:38:45 2010 +0200
+++ b/kernel/eka/include/d32usbdi_errors.h	Mon Jan 18 21:31:10 2010 +0200
@@ -62,6 +62,14 @@
 const TInt KErrUsbRemoteWakeupAlreadyDisabled = -6661;
 const TInt KErrUsbAlreadyResumed              = -6662;
 
+/*
+The following two codes are used to indicate attachment/detachment of some malfunction 
+USB peripherals, which behaviour don't comply with USB specification. For example, some 
+hubs drive their upstream port VBus, however such behaviour is not allowed according to USB specification. 
+*/
+const TInt KErrUsbBadDeviceAttached           = -6663;
+const TInt KEventUsbBadDeviceDetached         = -6664;
+
 namespace UsbdiPanics
 	{
 	_LIT(KUsbHubDriverPanicCat, "USBHubDriver");