Changeset ace12560 in mainline for uspace/drv/usbhub
- Timestamp:
- 2011-02-20T21:52:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b317b0b, d37b235
- Parents:
- 62066b4 (diff), 41e645c (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
-
uspace/drv/usbhub/usbhub.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r62066b4 race12560 39 39 40 40 #include <usb_iface.h> 41 #include <usb/ddfiface.h> 41 42 #include <usb/usbdrv.h> 42 43 #include <usb/descriptor.h> … … 52 53 #include "usb/pipes.h" 53 54 54 static int iface_get_hc_handle(device_t *device, devman_handle_t *handle)55 {56 return usb_hc_find(device->handle, handle);57 }58 59 static usb_iface_t hub_usb_iface = {60 .get_hc_handle = iface_get_hc_handle61 };62 63 55 static device_ops_t hub_device_ops = { 64 .interfaces[USB_DEV_IFACE] = & hub_usb_iface56 .interfaces[USB_DEV_IFACE] = &usb_iface_hub_impl 65 57 }; 66 58
Note:
See TracChangeset
for help on using the changeset viewer.
