Changeset 3b77628 in mainline for uspace/drv
- Timestamp:
- 2011-01-24T11:58:24Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- afc4fbb
- Parents:
- 0cfc68f0
- Location:
- uspace/drv
- Files:
-
- 5 edited
-
usbhub/usbhub.c (modified) (1 diff)
-
usbhub/usblist.c (modified) (1 diff)
-
usbhub/usblist.h (modified) (3 diffs)
-
usbhub/utils.c (modified) (1 diff)
-
vhc/devices.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r0cfc68f0 r3b77628 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup usb hub driver28 /** @addtogroup usbhub 29 29 * @{ 30 30 */ -
uspace/drv/usbhub/usblist.c
r0cfc68f0 r3b77628 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup usb hub driver28 /** @addtogroup usbhub 29 29 * @{ 30 30 */ -
uspace/drv/usbhub/usblist.h
r0cfc68f0 r3b77628 27 27 */ 28 28 29 30 #ifndef USBLIST_H 31 #define USBLIST_H 32 /** @addtogroup usb hub driver 29 /** @addtogroup usbhub 33 30 * @{ 34 31 */ … … 40 37 * much simpler and more straight-forward semantics. 41 38 */ 39 #ifndef USBLIST_H 40 #define USBLIST_H 42 41 43 42 /** … … 78 77 } 79 78 80 79 #endif /* USBLIST_H */ 81 80 /** 82 81 * @} 83 82 */ 84 85 86 87 #endif /* USBLIST_H */88 -
uspace/drv/usbhub/utils.c
r0cfc68f0 r3b77628 27 27 */ 28 28 29 /** @addtogroup libusb usb29 /** @addtogroup usbhub 30 30 * @{ 31 31 */ -
uspace/drv/vhc/devices.c
r0cfc68f0 r3b77628 58 58 /** Create virtual device. 59 59 * 60 * @param address USB address.61 60 * @param phone Callback phone. 62 61 * @return New device. 63 * @retval NULL Out of memory or address already occupied.62 * @retval NULL Out of memory. 64 63 */ 65 64 virtdev_connection_t *virtdev_add_device(int phone) … … 67 66 virtdev_connection_t *dev = (virtdev_connection_t *) 68 67 malloc(sizeof(virtdev_connection_t)); 68 if (dev == NULL) { 69 return NULL; 70 } 71 69 72 dev->phone = phone; 70 73 list_append(&dev->link, &devices);
Note:
See TracChangeset
for help on using the changeset viewer.
