Changeset 0f21c0c in mainline
- Timestamp:
- 2011-02-20T23:21:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b70d30, 9f554e64
- Parents:
- 83c291d
- Location:
- uspace
- Files:
-
- 5 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/info.c
r83c291d r0f21c0c 37 37 #include <str_error.h> 38 38 #include <errno.h> 39 #include <usb/usbdrv.h>40 39 #include <usb/pipes.h> 41 40 #include <usb/recognise.h> -
uspace/app/usbinfo/main.c
r83c291d r0f21c0c 43 43 #include <devman.h> 44 44 #include <devmap.h> 45 #include <usb/usbdrv.h>46 45 #include "usbinfo.h" 47 46 -
uspace/drv/uhci-rhd/root_hub.c
r83c291d r0f21c0c 35 35 #include <stdint.h> 36 36 37 #include <usb/usbdrv.h>38 37 #include <usb/debug.h> 39 38 -
uspace/drv/usbhid/main.c
r83c291d r0f21c0c 36 36 */ 37 37 38 #include <usb/usbdrv.h>39 38 #include <driver.h> 40 39 #include <ipc/driver.h> -
uspace/drv/usbhub/main.c
r83c291d r0f21c0c 34 34 #include <errno.h> 35 35 #include <async.h> 36 37 #include <usb/usbdrv.h>38 39 36 40 37 #include "usbhub.h" -
uspace/drv/usbhub/port_status.h
r83c291d r0f21c0c 35 35 #include <bool.h> 36 36 #include <sys/types.h> 37 #include <usb/ devreq.h>37 #include <usb/request.h> 38 38 #include "usbhub_private.h" 39 39 -
uspace/drv/usbhub/usbhub.c
r83c291d r0f21c0c 40 40 #include <usb_iface.h> 41 41 #include <usb/ddfiface.h> 42 #include <usb/usbdrv.h>43 42 #include <usb/descriptor.h> 44 43 #include <usb/recognise.h> 45 #include <usb/devreq.h>46 44 #include <usb/request.h> 47 45 #include <usb/classes/hub.h> -
uspace/drv/usbhub/usbhub.h
r83c291d r0f21c0c 42 42 #define NAME "usbhub" 43 43 44 //#include "usb/hcdhubd.h"45 #include <usb/usbdrv.h>46 44 #include <usb/hub.h> 47 45 -
uspace/drv/usbhub/usbhub_private.h
r83c291d r0f21c0c 47 47 #include <usb/classes/hub.h> 48 48 #include <usb/usb.h> 49 #include <usb/usbdrv.h>50 51 //#include <usb/devreq.h>52 49 #include <usb/debug.h> 50 #include <usb/request.h> 53 51 54 52 //************ -
uspace/drv/usbhub/utils.c
r83c291d r0f21c0c 38 38 39 39 #include <usbhc_iface.h> 40 #include <usb/usbdrv.h>41 40 #include <usb/descriptor.h> 42 #include <usb/devreq.h>43 41 #include <usb/classes/hub.h> 44 42 -
uspace/drv/vhc/hub/hub.c
r83c291d r0f21c0c 40 40 #include <stdlib.h> 41 41 #include <driver.h> 42 #include <usb/usbdrv.h>43 42 44 43 #include "hub.h" -
uspace/drv/vhc/hub/virthub.c
r83c291d r0f21c0c 41 41 #include <stdlib.h> 42 42 #include <driver.h> 43 #include <usb/usbdrv.h>44 43 45 44 #include "virthub.h" -
uspace/lib/usb/Makefile
r83c291d r0f21c0c 38 38 src/debug.c \ 39 39 src/dp.c \ 40 src/drvpsync.c \41 40 src/dump.c \ 42 41 src/hidparser.c \ … … 49 48 src/usb.c \ 50 49 src/usbdevice.c \ 51 src/usbdrvreq.c \52 src/usbdrv.c \53 50 src/usbmem.c 54 51 -
uspace/lib/usb/include/usb/recognise.h
r83c291d r0f21c0c 41 41 #include <ipc/devman.h> 42 42 43 int usb_device_create_match_ids_from_device_descriptor( 44 const usb_standard_device_descriptor_t *, match_id_list_t *); 45 43 46 int usb_device_create_match_ids_from_interface( 44 47 const usb_standard_device_descriptor_t *, -
uspace/lib/usb/include/usb/request.h
r83c291d r0f21c0c 41 41 #include <usb/descriptor.h> 42 42 43 /** Standard device request. */ 44 typedef enum { 45 USB_DEVREQ_GET_STATUS = 0, 46 USB_DEVREQ_CLEAR_FEATURE = 1, 47 USB_DEVREQ_SET_FEATURE = 3, 48 USB_DEVREQ_SET_ADDRESS = 5, 49 USB_DEVREQ_GET_DESCRIPTOR = 6, 50 USB_DEVREQ_SET_DESCRIPTOR = 7, 51 USB_DEVREQ_GET_CONFIGURATION = 8, 52 USB_DEVREQ_SET_CONFIGURATION = 9, 53 USB_DEVREQ_GET_INTERFACE = 10, 54 USB_DEVREQ_SET_INTERFACE = 11, 55 USB_DEVREQ_SYNCH_FRAME = 12, 56 USB_DEVREQ_LAST_STD 57 } usb_stddevreq_t; 58 59 /** Device request setup packet. 60 * The setup packet describes the request. 61 */ 62 typedef struct { 63 /** Request type. 64 * The type combines transfer direction, request type and 65 * intended recipient. 66 */ 67 uint8_t request_type; 68 /** Request identification. */ 69 uint8_t request; 70 /** Main parameter to the request. */ 71 union { 72 uint16_t value; 73 /* FIXME: add #ifdefs according to host endianess */ 74 struct { 75 uint8_t value_low; 76 uint8_t value_high; 77 }; 78 }; 79 /** Auxiliary parameter to the request. 80 * Typically, it is offset to something. 81 */ 82 uint16_t index; 83 /** Length of extra data. */ 84 uint16_t length; 85 } __attribute__ ((packed)) usb_device_request_setup_packet_t; 86 43 87 int usb_control_request_set(usb_endpoint_pipe_t *, 44 88 usb_request_type_t, usb_request_recipient_t, uint8_t, -
uspace/lib/usb/src/dp.c
r83c291d r0f21c0c 37 37 #include <str_error.h> 38 38 #include <errno.h> 39 #include < usb/usbdrv.h>39 #include <assert.h> 40 40 #include <bool.h> 41 41 #include <usb/dp.h> -
uspace/lib/usb/src/recognise.c
r83c291d r0f21c0c 34 34 */ 35 35 #include <sys/types.h> 36 #include <usb/usbdrv.h>37 36 #include <usb/pipes.h> 38 37 #include <usb/recognise.h> … … 241 240 * @return Error code. 242 241 */ 243 int usb_d rv_create_match_ids_from_device_descriptor(244 match_id_list_t *matches,245 const usb_standard_device_descriptor_t *device_descriptor)242 int usb_device_create_match_ids_from_device_descriptor( 243 const usb_standard_device_descriptor_t *device_descriptor, 244 match_id_list_t *matches) 246 245 { 247 246 /* … … 303 302 } 304 303 305 rc = usb_d rv_create_match_ids_from_device_descriptor(matches,306 &device_descriptor );304 rc = usb_device_create_match_ids_from_device_descriptor( 305 &device_descriptor, matches); 307 306 if (rc != EOK) { 308 307 return rc; -
uspace/lib/usb/src/request.c
r83c291d r0f21c0c 34 34 */ 35 35 #include <usb/request.h> 36 #include <usb/devreq.h>37 36 #include <errno.h> 38 37 -
uspace/lib/usbvirt/Makefile
r83c291d r0f21c0c 30 30 LIBRARY = libusbvirt 31 31 32 EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include -I include32 EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include -I$(LIBDRV_PREFIX)/include -Iinclude 33 33 34 34 SOURCES = \ -
uspace/lib/usbvirt/include/usbvirt/device.h
r83c291d r0f21c0c 37 37 38 38 #include <usb/usb.h> 39 #include <usb/request.h> 39 40 #include <usb/descriptor.h> 40 #include <usb/devreq.h>41 41 42 42 /** Request type of a control transfer. */ -
uspace/lib/usbvirt/src/stdreq.c
r83c291d r0f21c0c 36 36 #include <stdlib.h> 37 37 #include <mem.h> 38 #include <usb/ devreq.h>38 #include <usb/request.h> 39 39 40 40 #include "private.h"
Note:
See TracChangeset
for help on using the changeset viewer.