Changeset da68871a in mainline for uspace/drv/bus/usb/uhci/uhci_batch.c
- Timestamp:
- 2012-08-08T08:46:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30c0826
- Parents:
- bc216a0 (diff), 1d01cca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_batch.c
rbc216a0 rda68871a 58 58 } 59 59 } 60 /*----------------------------------------------------------------------------*/ 60 61 61 /** Finishes usb_transfer_batch and destroys the structure. 62 62 * … … 71 71 uhci_transfer_batch_dispose(uhci_batch); 72 72 } 73 /*----------------------------------------------------------------------------*/ 73 74 74 /** Transfer batch setup table. */ 75 75 static void (*const batch_setup[])(uhci_transfer_batch_t*, usb_direction_t); 76 /*----------------------------------------------------------------------------*/ 76 77 77 /** Allocate memory and initialize internal data structure. 78 78 * … … 143 143 return uhci_batch; 144 144 } 145 /*----------------------------------------------------------------------------*/ 145 146 146 /** Check batch TDs for activity. 147 147 * … … 196 196 return true; 197 197 } 198 /*----------------------------------------------------------------------------*/ 198 199 199 /** Direction to pid conversion table */ 200 200 static const usb_packet_id direction_pids[] = { … … 202 202 [USB_DIRECTION_OUT] = USB_PID_OUT, 203 203 }; 204 /*----------------------------------------------------------------------------*/ 204 205 205 /** Prepare generic data transfer 206 206 * … … 259 259 USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch)); 260 260 } 261 /*----------------------------------------------------------------------------*/ 261 262 262 /** Prepare generic control transfer 263 263 * … … 331 331 uhci_batch->tds[td].status); 332 332 } 333 /*----------------------------------------------------------------------------*/ 333 334 334 static void (*const batch_setup[])(uhci_transfer_batch_t*, usb_direction_t) = 335 335 {
Note:
See TracChangeset
for help on using the changeset viewer.