Changeset 0eddb76 in mainline for uspace/lib/usbvirt/src/main.c
- Timestamp:
- 2010-11-24T22:10:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56b962d
- Parents:
- 0b749a3
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/main.c
r0b749a3 r0eddb76 39 39 #include <assert.h> 40 40 41 #include "hub.h"42 #include "device.h"43 41 #include "private.h" 44 42 … … 183 181 } 184 182 185 /** Create necessary phones for com unication with virtual HCD.183 /** Create necessary phones for communication with virtual HCD. 186 184 * This function wraps following calls: 187 * -# open <code>/dev/devices/\\vhc for reading185 * -# open <code>/dev/devices/\\vhc</code> for reading 188 186 * -# access phone of file opened in previous step 189 187 * -# create callback through just opened phone … … 193 191 * @warning This function is wrapper for several actions and therefore 194 192 * it is not possible - in case of error - to determine at which point 195 * error occured. 196 * 197 * @param hcd_path HCD identification under devfs 198 * (without <code>/dev/usb/</code>). 193 * error occurred. 194 * 199 195 * @param dev Device to connect. 200 196 * @return EOK on success or error code from errno.h.
Note:
See TracChangeset
for help on using the changeset viewer.