Changeset cb59f787 in mainline for uspace/lib/usb/src
- Timestamp:
- 2010-11-21T09:22:41Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f8c1f7
- Parents:
- 32eceb4f
- Location:
- uspace/lib/usb/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hcdhubd.c
r32eceb4f rcb59f787 34 34 */ 35 35 #include <usb/hcdhubd.h> 36 #include <usb _iface.h>36 #include <usbhc_iface.h> 37 37 #include <driver.h> 38 38 #include <bool.h> … … 45 45 static usb_hc_driver_t *hc_driver = NULL; 46 46 47 static usb _iface_t usb_interface = {47 static usbhc_iface_t usb_interface = { 48 48 .interrupt_out = NULL, 49 49 .interrupt_in = NULL … … 51 51 52 52 static device_ops_t usb_device_ops = { 53 .interfaces[USB _DEV_IFACE] = &usb_interface53 .interfaces[USBHC_DEV_IFACE] = &usb_interface 54 54 }; 55 55 -
uspace/lib/usb/src/usbdrv.c
r32eceb4f rcb59f787 34 34 */ 35 35 #include <usb/usbdrv.h> 36 #include <usb _iface.h>36 #include <usbhc_iface.h> 37 37 #include <errno.h> 38 38 … … 121 121 122 122 transfer->request = async_send_4(phone, 123 DEV_IFACE_ID(USB _DEV_IFACE),123 DEV_IFACE_ID(USBHC_DEV_IFACE), 124 124 method, 125 125 target.address, target.endpoint, … … 184 184 185 185 transfer->request = async_send_4(phone, 186 DEV_IFACE_ID(USB _DEV_IFACE),186 DEV_IFACE_ID(USBHC_DEV_IFACE), 187 187 method, 188 188 target.address, target.endpoint, … … 214 214 215 215 req = async_send_2(phone, 216 DEV_IFACE_ID(USB _DEV_IFACE),217 IPC_M_USB _GET_BUFFER,216 DEV_IFACE_ID(USBHC_DEV_IFACE), 217 IPC_M_USBHC_GET_BUFFER, 218 218 hash, 219 219 &answer_data); … … 305 305 { 306 306 return async_send_buffer(phone, 307 IPC_M_USB _INTERRUPT_OUT,307 IPC_M_USBHC_INTERRUPT_OUT, 308 308 target, 309 309 buffer, size, … … 317 317 { 318 318 return async_recv_buffer(phone, 319 IPC_M_USB _INTERRUPT_IN,319 IPC_M_USBHC_INTERRUPT_IN, 320 320 target, 321 321 buffer, size, actual_size,
Note:
See TracChangeset
for help on using the changeset viewer.