Changeset 49a98c8 in mainline
- Timestamp:
- 2011-10-07T17:15:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a4ea01d
- Parents:
- fec6bf2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_batch.c
rfec6bf2 r49a98c8 159 159 usb_log_debug("Batch %p checking %zu td(s) for completion.\n", 160 160 ohci_batch->usb_batch, ohci_batch->td_count); 161 usb_log_debug2("ED: % x:%x:%x:%x.\n",161 usb_log_debug2("ED: %08x:%08x:%08x:%08x.\n", 162 162 ohci_batch->ed->status, ohci_batch->ed->td_head, 163 163 ohci_batch->ed->td_tail, ohci_batch->ed->next); … … 166 166 for (; i < ohci_batch->td_count; ++i) { 167 167 assert(ohci_batch->tds[i] != NULL); 168 usb_log_debug("TD %zu: % x:%x:%x:%x.\n", i,168 usb_log_debug("TD %zu: %08x:%08x:%08x:%08x.\n", i, 169 169 ohci_batch->tds[i]->status, ohci_batch->tds[i]->cbp, 170 170 ohci_batch->tds[i]->next, ohci_batch->tds[i]->be); … … 174 174 ohci_batch->usb_batch->error = td_error(ohci_batch->tds[i]); 175 175 if (ohci_batch->usb_batch->error != EOK) { 176 usb_log_debug("Batch %p found error TD(%zu):% x.\n",176 usb_log_debug("Batch %p found error TD(%zu):%08x.\n", 177 177 ohci_batch->usb_batch, i, 178 178 ohci_batch->tds[i]->status); … … 234 234 assert(ohci_batch->usb_batch); 235 235 assert(dir == USB_DIRECTION_IN || dir == USB_DIRECTION_OUT); 236 usb_log_debug("Using ED(%p): % x:%x:%x:%x.\n", ohci_batch->ed,236 usb_log_debug("Using ED(%p): %08x:%08x:%08x:%08x.\n", ohci_batch->ed, 237 237 ohci_batch->ed->status, ohci_batch->ed->td_tail, 238 238 ohci_batch->ed->td_head, ohci_batch->ed->next); … … 251 251 ohci_batch->usb_batch->setup_size, toggle); 252 252 td_set_next(ohci_batch->tds[0], ohci_batch->tds[1]); 253 usb_log_debug("Created CONTROL SETUP TD: % x:%x:%x:%x.\n",253 usb_log_debug("Created CONTROL SETUP TD: %08x:%08x:%08x:%08x.\n", 254 254 ohci_batch->tds[0]->status, ohci_batch->tds[0]->cbp, 255 255 ohci_batch->tds[0]->next, ohci_batch->tds[0]->be); … … 269 269 td_set_next(ohci_batch->tds[td_current], 270 270 ohci_batch->tds[td_current + 1]); 271 usb_log_debug("Created CONTROL DATA TD: % x:%x:%x:%x.\n",271 usb_log_debug("Created CONTROL DATA TD: %08x:%08x:%08x:%08x.\n", 272 272 ohci_batch->tds[td_current]->status, 273 273 ohci_batch->tds[td_current]->cbp, … … 286 286 td_set_next(ohci_batch->tds[td_current], 287 287 ohci_batch->tds[td_current + 1]); 288 usb_log_debug("Created CONTROL STATUS TD: % x:%x:%x:%x.\n",288 usb_log_debug("Created CONTROL STATUS TD: %08x:%08x:%08x:%08x.\n", 289 289 ohci_batch->tds[td_current]->status, 290 290 ohci_batch->tds[td_current]->cbp, … … 312 312 assert(ohci_batch->usb_batch); 313 313 assert(dir == USB_DIRECTION_IN || dir == USB_DIRECTION_OUT); 314 usb_log_debug("Using ED(%p): % x:%x:%x:%x.\n", ohci_batch->ed,314 usb_log_debug("Using ED(%p): %08x:%08x:%08x:%08x.\n", ohci_batch->ed, 315 315 ohci_batch->ed->status, ohci_batch->ed->td_tail, 316 316 ohci_batch->ed->td_head, ohci_batch->ed->next); … … 328 328 ohci_batch->tds[td_current + 1]); 329 329 330 usb_log_debug("Created DATA TD: % x:%x:%x:%x.\n",330 usb_log_debug("Created DATA TD: %08x:%08x:%08x:%08x.\n", 331 331 ohci_batch->tds[td_current]->status, 332 332 ohci_batch->tds[td_current]->cbp,
Note:
See TracChangeset
for help on using the changeset viewer.