Changeset a25d893 in mainline
- Timestamp:
- 2015-04-10T02:48:42Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94e46c9
- Parents:
- 2003739
- Location:
- uspace/drv/bus/usb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r2003739 ra25d893 178 178 usb_log_error("Failed to create OHCI memory structures: %s.\n", 179 179 str_error(ret)); 180 //TODO: We should disable pio access here 180 181 return ret; 181 182 } … … 393 394 ohci_emulation_reg, OHCI_RD(*ohci_emulation_reg)); 394 395 /* Zero everything but A20State */ 396 //TODO: should we ack interrupts before doing this? 395 397 OHCI_CLR(*ohci_emulation_reg, ~0x100); 396 398 usb_log_debug( … … 402 404 if (OHCI_RD(instance->registers->control) & C_IR) { 403 405 usb_log_debug("SMM driver: request ownership change.\n"); 406 //TODO: should we ack interrupts before doing this? 404 407 OHCI_SET(instance->registers->command_status, CS_OCR); 405 408 /* Hope that SMM actually knows its stuff or we can hang here */ -
uspace/drv/bus/usb/ohci/main.c
r2003739 ra25d893 56 56 return ENOMEM; 57 57 58 const int ret = 58 const int ret = hc_init(instance, res, irq); 59 59 if (ret == EOK) 60 60 hcd_set_implementation(hcd, instance, ohci_hc_schedule, -
uspace/drv/bus/usb/uhci/main.c
r2003739 ra25d893 57 57 return ENOMEM; 58 58 59 const int ret = 59 const int ret = hc_init(instance, res, irq); 60 60 if (ret == EOK) 61 61 hcd_set_implementation(hcd, instance, uhci_hc_schedule, NULL,
Note:
See TracChangeset
for help on using the changeset viewer.