[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
USB_DEBUG is defopt'ed and it is used as a global knob in usb.h:
#define Static static
This is done for drivers which don't include "opt_usb.h" so they will not
recognize when USB_DEBUG changes. There are other drivers which do this in their
I have fixed those to include "opt_usb.h", but I am unsure how we want to go
in the long term.
- Do we want to move the .c defines in usb.h, and have usb.h include "opt_usb.h"
- Do we want to not enable all the driver debugging code when USB_DEBUG is
and leave it to the individual drivers what to do (and leave USB_DEBUG in the
generic driver code where it is used directly)?
Main Index |
Thread Index |