Changeset 4d37c42 in mainline for uspace/drv/uhci-rhd/port.c
- Timestamp:
- 2011-02-25T17:17:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 013e4ca4
- Parents:
- f20f9e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
rf20f9e2 r4d37c42 34 34 #include <errno.h> 35 35 #include <str_error.h> 36 #include <fibril_synch.h> 36 37 37 38 #include <usb/usb.h> /* usb_address_t */ … … 100 101 101 102 /* debug print */ 103 static fibril_mutex_t dbg_mtx = FIBRIL_MUTEX_INITIALIZER(dbg_mtx); 104 fibril_mutex_lock(&dbg_mtx); 102 105 usb_log_debug("Port %d status at %p: 0x%04x.\n", 103 106 port_instance->number, port_instance->address, port_status); 104 107 print_port_status(port_status); 108 fibril_mutex_unlock(&dbg_mtx); 105 109 106 110 if (port_status & STATUS_CONNECTED_CHANGED) { … … 120 124 /* new device */ 121 125 uhci_port_new_device(port_instance); 126 } else { 127 port_status_write(port_instance->address, STATUS_CONNECTED_CHANGED); 122 128 } 123 129
Note:
See TracChangeset
for help on using the changeset viewer.