Changeset d6f78857 in mainline
- Timestamp:
- 2011-02-04T17:02:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2899980
- Parents:
- 9e4f6a7
- Location:
- uspace/drv/uhci-hcd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/main.c
r9e4f6a7 rd6f78857 134 134 */ 135 135 sleep(5); 136 usb_log_enable(USB_LOG_LEVEL_ DEBUG, NAME);136 usb_log_enable(USB_LOG_LEVEL_INFO, NAME); 137 137 138 138 return driver_main(&uhci_driver); -
uspace/drv/uhci-hcd/uhci.c
r9e4f6a7 rd6f78857 238 238 it, it->status, addr_to_phys((void*)it) ); 239 239 usb_log_debug("First to send: %x\n", 240 (current_list->queue_head->element & (~0xf)) );240 (current_list->queue_head->element) ); 241 241 } 242 242 … … 269 269 270 270 uintptr_t frame_list = pio_read_32(&instance->registers->flbaseadd); 271 usb_log_debug("Framelist address: %p vs. %p.\n", 272 frame_list, addr_to_phys(instance->frame_list)); 271 if (frame_list != (uintptr_t)addr_to_phys(instance->frame_list)) { 272 usb_log_debug("Framelist address: %p vs. %p.\n", 273 frame_list, addr_to_phys(instance->frame_list)); 274 } 273 275 int frnum = pio_read_16(&instance->registers->frnum) & 0x3ff; 274 usb_log_debug ("Framelist item: %d \n", frnum );276 usb_log_debug2("Framelist item: %d \n", frnum ); 275 277 276 278 queue_head_t* qh = instance->transfers_interrupt.queue_head; -
uspace/drv/uhci-hcd/uhci.h
r9e4f6a7 rd6f78857 70 70 #define TRANSFER_QUEUES 4 71 71 #define UHCI_FRAME_LIST_COUNT 1024 72 #define UHCI_CLEANER_TIMEOUT 10000 0072 #define UHCI_CLEANER_TIMEOUT 10000 73 73 #define UHCI_DEBUGER_TIMEOUT 500000 74 74 -
uspace/drv/uhci-hcd/utils/malloc32.h
r9e4f6a7 rd6f78857 71 71 } 72 72 73 static inline void * memalign32(size_t size, size_t alignment)74 { return memalign(alignment, size); }75 76 73 static inline void free32(void *addr) 77 74 { if (addr) free(addr); }
Note:
See TracChangeset
for help on using the changeset viewer.