* Unified and disabled TRACEing for the usb stack and uhci hcd

* Fixed warnings
* Some cleanup
* Added myself as an author to some files

No functional changes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18614 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-08-24 20:18:29 +00:00
parent db4e86f3fa
commit 02ce23a1ad
17 changed files with 118 additions and 155 deletions
+1 -9
View File
@@ -11,14 +11,6 @@
#include "usb_p.h"
#define TRACE_USB
#ifdef TRACE_USB
#define TRACE(x) dprintf x
#else
#define TRACE(x) /* nothing */
#endif
Stack *gUSBStack = NULL;
@@ -33,8 +25,8 @@ bus_std_ops(int32 op, ...)
#ifdef TRACE_USB
set_dprintf_enabled(true);
load_driver_symbols("usb");
#endif
TRACE(("usb_module: init\n"));
#endif
Stack *stack = new(std::nothrow) Stack();
if (!stack)