Changeset 3de48b5 in mainline for uspace/drv/uhci-rhd/port.c
- Timestamp:
- 2011-02-26T11:20:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48563a3
- Parents:
- 0063838
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r0063838 r3de48b5 92 92 uhci_port_t *port_instance = port; 93 93 assert(port_instance); 94 // port_status_write(port_instance->address, 0); 94 95 95 96 while (1) { … … 103 104 usb_log_debug("Port %d status at %p: 0x%04x.\n", 104 105 port_instance->number, port_instance->address, port_status); 105 print_port_status(port_status);106 // print_port_status(port_status); 106 107 fibril_mutex_unlock(&dbg_mtx); 107 108 … … 115 116 } 116 117 118 port_status_write(port_instance->address, port_status); 119 usb_log_debug("Change status ack on port %d.\n", 120 port_instance->number); 121 117 122 /* remove any old device */ 118 123 if (port_instance->attached_device) { … … 121 126 uhci_port_remove_device(port_instance); 122 127 } 123 124 port_status_write(port_instance->address, STATUS_CONNECTED_CHANGED);125 usb_log_debug("Change status erased on port %d.\n",126 port_instance->number);127 128 128 129 if (port_status & STATUS_CONNECTED) {
Note:
See TracChangeset
for help on using the changeset viewer.