Changeset b803845 in mainline for uspace/drv/bus/usb
- Timestamp:
- 2011-10-15T14:56:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f8f09f
- Parents:
- 9c5fd7a
- Location:
- uspace/drv/bus/usb
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/generic/hiddev.c
r9c5fd7a rb803845 48 48 /*----------------------------------------------------------------------------*/ 49 49 50 usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = {50 const usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = { 51 51 .transfer_type = USB_TRANSFER_INTERRUPT, 52 52 .direction = USB_DIRECTION_IN, -
uspace/drv/bus/usb/usbhid/generic/hiddev.h
r9c5fd7a rb803845 41 41 struct usb_hid_dev; 42 42 43 usb_endpoint_description_t usb_hid_generic_poll_endpoint_description; 43 extern const usb_endpoint_description_t 44 usb_hid_generic_poll_endpoint_description; 44 45 45 46 const char *HID_GENERIC_FUN_NAME; -
uspace/drv/bus/usb/usbhid/kbd/kbddev.c
r9c5fd7a rb803845 88 88 89 89 /** Keyboard polling endpoint description for boot protocol class. */ 90 usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description = {90 const usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description = { 91 91 .transfer_type = USB_TRANSFER_INTERRUPT, 92 92 .direction = USB_DIRECTION_IN, -
uspace/drv/bus/usb/usbhid/kbd/kbddev.h
r9c5fd7a rb803845 118 118 /*----------------------------------------------------------------------------*/ 119 119 120 usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description;120 extern const usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description; 121 121 122 122 const char *HID_KBD_FUN_NAME; -
uspace/drv/bus/usb/usbhid/mouse/mousedev.c
r9c5fd7a rb803845 59 59 /*----------------------------------------------------------------------------*/ 60 60 61 usb_endpoint_description_t usb_hid_mouse_poll_endpoint_description = {61 const usb_endpoint_description_t usb_hid_mouse_poll_endpoint_description = { 62 62 .transfer_type = USB_TRANSFER_INTERRUPT, 63 63 .direction = USB_DIRECTION_IN, -
uspace/drv/bus/usb/usbhid/mouse/mousedev.h
r9c5fd7a rb803845 63 63 /*----------------------------------------------------------------------------*/ 64 64 65 usb_endpoint_description_t usb_hid_mouse_poll_endpoint_description;65 extern const usb_endpoint_description_t usb_hid_mouse_poll_endpoint_description; 66 66 67 67 const char *HID_MOUSE_FUN_NAME; -
uspace/drv/bus/usb/usbhid/usbhid.c
r9c5fd7a rb803845 54 54 55 55 /* Array of endpoints expected on the device, NULL terminated. */ 56 usb_endpoint_description_t *usb_hid_endpoints[] = {56 const usb_endpoint_description_t *usb_hid_endpoints[] = { 57 57 &usb_hid_kbd_poll_endpoint_description, 58 58 &usb_hid_mouse_poll_endpoint_description, -
uspace/drv/bus/usb/usbhid/usbhid.h
r9c5fd7a rb803845 141 141 }; 142 142 143 extern usb_endpoint_description_t *usb_hid_endpoints[];143 extern const usb_endpoint_description_t *usb_hid_endpoints[]; 144 144 145 145 /*----------------------------------------------------------------------------*/ -
uspace/drv/bus/usb/usbhub/main.c
r9c5fd7a rb803845 67 67 68 68 /** Hub endpoints, excluding control endpoint. */ 69 static usb_endpoint_description_t *usb_hub_endpoints[] = {69 static const usb_endpoint_description_t *usb_hub_endpoints[] = { 70 70 &hub_status_change_endpoint_description, 71 71 NULL, -
uspace/drv/bus/usb/usbmast/main.c
r9c5fd7a rb803845 72 72 }; 73 73 74 usb_endpoint_description_t *mast_endpoints[] = {74 static const usb_endpoint_description_t *mast_endpoints[] = { 75 75 &bulk_in_ep, 76 76 &bulk_out_ep, -
uspace/drv/bus/usb/usbmouse/init.c
r9c5fd7a rb803845 44 44 45 45 /** Mouse polling endpoint description for boot protocol subclass. */ 46 usb_endpoint_description_t poll_endpoint_description = {46 const usb_endpoint_description_t poll_endpoint_description = { 47 47 .transfer_type = USB_TRANSFER_INTERRUPT, 48 48 .direction = USB_DIRECTION_IN, -
uspace/drv/bus/usb/usbmouse/main.c
r9c5fd7a rb803845 83 83 }; 84 84 85 static usb_endpoint_description_t *endpoints[] = {85 static const usb_endpoint_description_t *endpoints[] = { 86 86 &poll_endpoint_description, 87 87 NULL -
uspace/drv/bus/usb/usbmouse/mouse.h
r9c5fd7a rb803845 61 61 } usb_mouse_t; 62 62 63 extern usb_endpoint_description_t poll_endpoint_description;63 extern const usb_endpoint_description_t poll_endpoint_description; 64 64 65 65 extern int usb_mouse_create(usb_device_t *);
Note:
See TracChangeset
for help on using the changeset viewer.