Changeset f51587f5 in mainline for uspace/drv/bus/usb/ohci/hc.c
- Timestamp:
- 2012-12-16T17:17:37Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 395bb79
- Parents:
- 8de2cca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r8de2cca rf51587f5 88 88 static int hc_init_memory(hc_t *instance); 89 89 static int interrupt_emulator(hc_t *instance); 90 static int hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);91 90 92 91 /** Get number of PIO ranges used in IRQ code. … … 161 160 162 161 list_initialize(&instance->pending_batches); 163 164 hcd_init(&instance->generic, USB_SPEED_FULL,165 BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);166 instance->generic.private_data = instance;167 instance->generic.schedule = hc_schedule;168 instance->generic.ep_add_hook = ohci_endpoint_init;169 instance->generic.ep_remove_hook = ohci_endpoint_fini;170 162 171 163 ret = hc_init_memory(instance);
Note:
See TracChangeset
for help on using the changeset viewer.