Changeset f1d6866 in mainline for uspace/drv/bus/usb/uhci/uhci.c
- Timestamp:
- 2011-09-18T21:22:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dcc44ca1
- Parents:
- 85ff862 (diff), 45a9cf4 (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.c
r85ff862 rf1d6866 41 41 42 42 #include "uhci.h" 43 #include "iface.h"44 43 #include "pci.h" 45 44 … … 87 86 /** Operations supported by the HC driver */ 88 87 static ddf_dev_ops_t hc_ops = { 89 .interfaces[USBHC_DEV_IFACE] = &hc _iface, /* see iface.h/c */88 .interfaces[USBHC_DEV_IFACE] = &hcd_iface, /* see iface.h/c */ 90 89 }; 91 90 /*----------------------------------------------------------------------------*/ … … 100 99 { 101 100 assert(fun); 102 usb_device_keeper_t *manager = &dev_to_uhci(fun->dev)->hc.manager; 103 usb_address_t addr = usb_device_keeper_find(manager, handle); 101 usb_device_manager_t *manager = 102 &dev_to_uhci(fun->dev)->hc.generic.dev_manager; 103 const usb_address_t addr = usb_device_manager_find(manager, handle); 104 104 105 105 if (addr < 0) { … … 202 202 CHECK_RET_DEST_FREE_RETURN(ret, "Failed to create UHCI HC function.\n"); 203 203 instance->hc_fun->ops = &hc_ops; 204 instance->hc_fun->driver_data = &instance->hc ;204 instance->hc_fun->driver_data = &instance->hc.generic; 205 205 206 206 instance->rh_fun = ddf_fun_create(device, fun_inner, "uhci_rh");
Note:
See TracChangeset
for help on using the changeset viewer.