Changeset 46e078a in mainline for uspace/lib/usb/src/hub.c
- Timestamp:
- 2011-04-09T23:50:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c258d1
- Parents:
- 0748854
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hub.c
r0748854 r46e078a 53 53 } \ 54 54 } while (false) 55 56 57 /** Tell host controller to reserve default address.58 * @deprecated59 *60 * @param connection Opened connection to host controller.61 * @param speed Speed of the device that will respond on the default address.62 * @return Error code.63 */64 int usb_hc_reserve_default_address(usb_hc_connection_t *connection,65 usb_speed_t speed)66 {67 CHECK_CONNECTION(connection);68 69 usb_log_warning("usb_hc_reserve_default_address() considered obsolete");70 71 return async_req_2_0(connection->hc_phone,72 DEV_IFACE_ID(USBHC_DEV_IFACE),73 IPC_M_USBHC_RESERVE_DEFAULT_ADDRESS, speed);74 }75 76 /** Tell host controller to release default address.77 * @deprecated78 *79 * @param connection Opened connection to host controller.80 * @return Error code.81 */82 int usb_hc_release_default_address(usb_hc_connection_t *connection)83 {84 CHECK_CONNECTION(connection);85 86 usb_log_warning("usb_hc_release_default_address() considered obsolete");87 88 return async_req_1_0(connection->hc_phone,89 DEV_IFACE_ID(USBHC_DEV_IFACE),90 IPC_M_USBHC_RELEASE_DEFAULT_ADDRESS);91 }92 55 93 56 /** Ask host controller for free address assignment.
Note:
See TracChangeset
for help on using the changeset viewer.