Changeset 2972e21 in mainline
- Timestamp:
- 2010-12-31T15:44:54Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 28f660d
- Parents:
- bf5a3be
- Location:
- uspace/drv/uhci
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/Makefile
rbf5a3be r2972e21 29 29 USPACE_PREFIX = ../.. 30 30 LIBS = $(LIBDRV_PREFIX)/libdrv.a $(LIBUSB_PREFIX)/libusb.a 31 EXTRA_CFLAGS += -I$(LIBDRV_PREFIX)/include -I$(LIBUSB_PREFIX)/include 31 EXTRA_CFLAGS += -I$(LIBDRV_PREFIX)/include -I$(LIBUSB_PREFIX)/include -I. 32 32 BINARY = uhci 33 33 … … 35 35 iface.c \ 36 36 main.c \ 37 root_hub/port.c \ 37 38 root_hub/port_status.c \ 38 39 root_hub/root_hub.c \ -
uspace/drv/uhci/debug.h
rbf5a3be r2972e21 41 41 enum debug_levels { 42 42 DEBUG_LEVEL_FATAL_ERROR = 1, 43 DEBUG_LEVEL_CRITICAL_ERROR = 2, 44 DEBUG_LEVEL_ERROR = 3, 45 DEBUG_LEVEL_WARNING = 4, 46 DEBUG_LEVEL_INFO = 5 43 DEBUG_LEVEL_ERROR = 2, 44 DEBUG_LEVEL_WARNING = 3, 45 DEBUG_LEVEL_INFO = 4, 46 DEBUG_LEVEL_VERBOSE = 5, 47 DEBUG_LEVEL_MAX = DEBUG_LEVEL_VERBOSE 47 48 }; 48 49 … … 56 57 usb_dprintf( NAME, DEBUG_LEVEL_INFO, fmt, ##args ) 57 58 59 #define uhci_print_verbose( fmt, args... ) \ 60 usb_dprintf( NAME, DEBUG_LEVEL_VERBOSE, fmt, ##args ) 61 58 62 #endif 59 63 /** -
uspace/drv/uhci/main.c
rbf5a3be r2972e21 65 65 */ 66 66 sleep( 5 ); 67 usb_dprintf_enable(NAME, DEBUG_LEVEL_ INFO);67 usb_dprintf_enable(NAME, DEBUG_LEVEL_MAX); 68 68 69 69 return driver_main(&uhci_driver); -
uspace/drv/uhci/uhci.h
rbf5a3be r2972e21 56 56 uhci_root_hub_t root_hub; 57 57 volatile regs_t* registers; 58 59 58 } uhci_t ; 60 59
Note:
See TracChangeset
for help on using the changeset viewer.