|
@@ -55,7 +55,10 @@
|
|
#include <asm/4xx_pci.h>
|
|
#include <asm/4xx_pci.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#undef USB_DEBUG
|
|
|
|
|
|
+#ifdef DEBUG
|
|
|
|
+#define USB_DEBUG
|
|
|
|
+#define USB_HUB_DEBUG
|
|
|
|
+#endif
|
|
|
|
|
|
#ifdef USB_DEBUG
|
|
#ifdef USB_DEBUG
|
|
#define USB_PRINTF(fmt, args...) printf(fmt , ##args)
|
|
#define USB_PRINTF(fmt, args...) printf(fmt , ##args)
|
|
@@ -960,8 +963,6 @@ void usb_scan_devices(void)
|
|
* Probes device for being a hub and configurate it
|
|
* Probes device for being a hub and configurate it
|
|
*/
|
|
*/
|
|
|
|
|
|
-#undef USB_HUB_DEBUG
|
|
|
|
-
|
|
|
|
#ifdef USB_HUB_DEBUG
|
|
#ifdef USB_HUB_DEBUG
|
|
#define USB_HUB_PRINTF(fmt, args...) printf(fmt , ##args)
|
|
#define USB_HUB_PRINTF(fmt, args...) printf(fmt , ##args)
|
|
#else
|
|
#else
|