Changeset a8e98498 in mainline for uspace/lib/usb/src


Ignore:
Timestamp:
2011-03-08T15:12:59Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c0f5a5d, d2fc1c2, f8c190e
Parents:
ec4538d (diff), bc1c6fb (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.
Message:

Doxygen comments fixes, EHCI match ids

  • Fixed wrong parameters' comments.
  • Placed EHCI driver into separate Doxygen group drvusbehci.
  • Add a bunch of EHCI match ids.
  • Removed some obsoleted code.
Location:
uspace/lib/usb/src
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/ddfiface.c

    rec4538d ra8e98498  
    5656/** Get host controller handle, interface implementation for hub driver.
    5757 *
    58  * @param[in] device Device the operation is running on.
     58 * @param[in] fun Device function the operation is running on.
    5959 * @param[out] handle Storage for the host controller handle.
    6060 * @return Error code.
     
    6969 * a hub driver.
    7070 *
    71  * @param[in] device Device the operation is running on.
     71 * @param[in] fun Device function the operation is running on.
    7272 * @param[out] handle Storage for the host controller handle.
    7373 * @return Error code.
     
    101101/** Get host controller handle, interface implementation for HC driver.
    102102 *
    103  * @param[in] device Device the operation is running on.
     103 * @param[in] fun Device function the operation is running on.
    104104 * @param[out] handle Storage for the host controller handle.
    105105 * @return Always EOK.
     
    118118/** Get USB device address, interface implementation for hub driver.
    119119 *
    120  * @param[in] device Device the operation is running on.
     120 * @param[in] fun Device function the operation is running on.
    121121 * @param[in] handle Devman handle of USB device we want address of.
    122122 * @param[out] address Storage for USB address of device with handle @p handle.
     
    153153 * a hub driver.
    154154 *
    155  * @param[in] device Device the operation is running on.
     155 * @param[in] fun Device function the operation is running on.
    156156 * @param[in] handle Devman handle of USB device we want address of.
    157157 * @param[out] address Storage for USB address of device with handle @p handle.
  • uspace/lib/usb/src/hub.c

    rec4538d ra8e98498  
    5757 *
    5858 * @param connection Opened connection to host controller.
     59 * @param speed Speed of the device that will respond on the default address.
    5960 * @return Error code.
    6061 */
     
    8687 *
    8788 * @param connection Opened connection to host controller.
     89 * @param speed Speed of the new device (device that will be assigned
     90 *    the returned address).
    8891 * @return Assigned USB address or negative error code.
    8992 */
     
    156159 * error codes than those listed as return codes by this function itself).
    157160 *
    158  * @param parent Parent device (i.e. the hub device).
    159  * @param connection Opened connection to host controller.
    160  * @param dev_speed New device speed.
    161  * @param enable_port Function for enabling signaling through the port the
     161 * @param[in] parent Parent device (i.e. the hub device).
     162 * @param[in] connection Opened connection to host controller.
     163 * @param[in] dev_speed New device speed.
     164 * @param[in] enable_port Function for enabling signaling through the port the
    162165 *      device is attached to.
    163  * @param port_no Port number (passed through to @p enable_port).
    164  * @param arg Any data argument to @p enable_port.
     166 * @param[in] port_no Port number (passed through to @p enable_port).
     167 * @param[in] arg Any data argument to @p enable_port.
    165168 * @param[out] assigned_address USB address of the device.
    166169 * @param[out] assigned_handle Devman handle of the new device.
     170 * @param[in] dev_ops Child device ops.
     171 * @param[in] new_dev_data Arbitrary pointer to be stored in the child
     172 *      as @c driver_data.
     173 * @param[out] new_fun Storage where pointer to allocated child function
     174 *      will be written.
    167175 * @return Error code.
    168176 * @retval ENOENT Connection to HC not opened.
  • uspace/lib/usb/src/pipes.c

    rec4538d ra8e98498  
    9999 *
    100100 * @param connection Connection structure to be initialized.
    101  * @param device Generic device backing the USB device.
     101 * @param dev Generic device backing the USB device.
    102102 * @return Error code.
    103103 */
  • uspace/lib/usb/src/recognise.c

    rec4538d ra8e98498  
    138138/** Create device match ids based on its interface.
    139139 *
    140  * @param[in] descriptor Interface descriptor.
     140 * @param[in] desc_device Device descriptor.
     141 * @param[in] desc_interface Interface descriptor.
    141142 * @param[out] matches Initialized list of match ids.
    142143 * @return Error code (the two mentioned are not the only ones).
    143144 * @retval EINVAL Invalid input parameters (expects non NULL pointers).
    144  * @retval ENOENT Interface does not specify class.
     145 * @retval ENOENT Device class is not "use interface".
    145146 */
    146147int usb_device_create_match_ids_from_interface(
     
    333334 * @param[in] parent Parent device.
    334335 * @param[out] child_handle Handle of the child device.
     336 * @param[in] dev_ops Child device ops.
     337 * @param[in] dev_data Arbitrary pointer to be stored in the child
     338 *      as @c driver_data.
     339 * @param[out] child_fun Storage where pointer to allocated child function
     340 *      will be written.
    335341 * @return Error code.
    336342 */
  • uspace/lib/usb/src/request.c

    rec4538d ra8e98498  
    195195 * @param[in] pipe Control endpoint pipe (session must be already started).
    196196 * @param[in] request_type Request type (standard/class/vendor).
     197 * @param[in] recipient Request recipient (device/interface/endpoint).
    197198 * @param[in] descriptor_type Descriptor type (device/configuration/HID/...).
    198199 * @param[in] descriptor_index Descriptor index.
     
    229230 * @param[in] pipe Control endpoint pipe (session must be already started).
    230231 * @param[in] request_type Request type (standard/class/vendor).
     232 * @param[in] recipient Request recipient (device/interface/endpoint).
    231233 * @param[in] descriptor_type Descriptor type (device/configuration/HID/...).
    232234 * @param[in] descriptor_index Descriptor index.
Note: See TracChangeset for help on using the changeset viewer.