Changes in / [89acf204:458e40c] in mainline
- Files:
-
- 6 added
- 30 deleted
- 9 edited
-
.bzrignore (modified) (1 diff)
-
boot/arch/amd64/Makefile.inc (modified) (1 diff)
-
uspace/Makefile (modified) (2 diffs)
-
uspace/app/bdsh/cmds/modules/cat/cat.c (modified) (1 diff)
-
uspace/app/bdsh/cmds/modules/rm/rm.c (modified) (1 diff)
-
uspace/drv/rootvirt/devices.def (modified) (1 diff)
-
uspace/drv/uhci-hcd/Makefile (deleted)
-
uspace/drv/uhci-hcd/callback.c (deleted)
-
uspace/drv/uhci-hcd/callback.h (deleted)
-
uspace/drv/uhci-hcd/iface.c (deleted)
-
uspace/drv/uhci-hcd/iface.h (deleted)
-
uspace/drv/uhci-hcd/main.c (deleted)
-
uspace/drv/uhci-hcd/pci.c (deleted)
-
uspace/drv/uhci-hcd/pci.h (deleted)
-
uspace/drv/uhci-hcd/root_hub.c (deleted)
-
uspace/drv/uhci-hcd/root_hub.h (deleted)
-
uspace/drv/uhci-hcd/transfer_list.c (deleted)
-
uspace/drv/uhci-hcd/transfer_list.h (deleted)
-
uspace/drv/uhci-hcd/uhci-hcd.ma (deleted)
-
uspace/drv/uhci-hcd/uhci.c (deleted)
-
uspace/drv/uhci-hcd/uhci.h (deleted)
-
uspace/drv/uhci-hcd/uhci_struct/link_pointer.h (deleted)
-
uspace/drv/uhci-hcd/uhci_struct/queue_head.h (deleted)
-
uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.c (deleted)
-
uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.h (deleted)
-
uspace/drv/uhci-hcd/utils/malloc32.h (deleted)
-
uspace/drv/uhci-rhd/Makefile (deleted)
-
uspace/drv/uhci-rhd/main.c (deleted)
-
uspace/drv/uhci-rhd/port.c (deleted)
-
uspace/drv/uhci-rhd/port.h (deleted)
-
uspace/drv/uhci-rhd/port_status.c (deleted)
-
uspace/drv/uhci-rhd/port_status.h (deleted)
-
uspace/drv/uhci-rhd/root_hub.c (deleted)
-
uspace/drv/uhci-rhd/root_hub.h (deleted)
-
uspace/drv/uhci-rhd/uhci-rhd.ma (deleted)
-
uspace/drv/uhci/Makefile (added)
-
uspace/drv/uhci/main.c (added)
-
uspace/drv/uhci/pci.c (added)
-
uspace/drv/uhci/transfers.c (added)
-
uspace/drv/uhci/uhci.h (added)
-
uspace/drv/uhci/uhci.ma (added)
-
uspace/drv/usbhid/main.c (modified) (6 diffs)
-
uspace/lib/usb/include/usb/addrkeep.h (deleted)
-
uspace/lib/usb/include/usb/devreq.h (modified) (2 diffs)
-
uspace/lib/usb/src/addrkeep.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
r89acf204 r458e40c 84 84 ./uspace/drv/test1/test1 85 85 ./uspace/drv/test2/test2 86 ./uspace/drv/uhci-hcd/uhci-hcd 87 ./uspace/drv/uhci-rhd/uhci-rhd 86 ./uspace/drv/uhci/uhci 88 87 ./uspace/drv/usbhub/usbhub 89 88 ./uspace/drv/usbhid/usbhid -
boot/arch/amd64/Makefile.inc
r89acf204 r458e40c 43 43 isa \ 44 44 ns8250 \ 45 uhci-hcd \ 46 uhci-rhd \ 45 uhci \ 47 46 usbhub \ 48 47 usbhid \ -
uspace/Makefile
r89acf204 r458e40c 117 117 srv/hw/irc/apic \ 118 118 srv/hw/irc/i8259 \ 119 drv/uhci-hcd \ 120 drv/uhci-rhd \ 119 drv/uhci \ 121 120 drv/usbhid \ 122 121 drv/usbhub \ … … 132 131 srv/hw/irc/apic \ 133 132 srv/hw/irc/i8259 \ 134 drv/uhci-hcd \ 135 drv/uhci-rhd \ 133 drv/uhci \ 136 134 drv/usbhid \ 137 135 drv/usbhub \ -
uspace/app/bdsh/cmds/modules/cat/cat.c
r89acf204 r458e40c 144 144 return CMD_SUCCESS; 145 145 case 'H': 146 printf( "%s",cat_oops);146 printf(cat_oops); 147 147 return CMD_FAILURE; 148 148 case 't': 149 printf( "%s",cat_oops);149 printf(cat_oops); 150 150 return CMD_FAILURE; 151 151 case 'b': 152 printf( "%s",cat_oops);152 printf(cat_oops); 153 153 break; 154 154 case 'm': 155 printf( "%s",cat_oops);155 printf(cat_oops); 156 156 return CMD_FAILURE; 157 157 } -
uspace/app/bdsh/cmds/modules/rm/rm.c
r89acf204 r458e40c 227 227 } 228 228 memset(buff, 0, sizeof(buff)); 229 snprintf(buff, len, "%s",argv[i]);229 snprintf(buff, len, argv[i]); 230 230 231 231 scope = rm_scope(buff); -
uspace/drv/rootvirt/devices.def
r89acf204 r458e40c 23 23 #endif 24 24 /* Virtual USB host controller. */ 25 /*26 25 { 27 26 .name = "usbhc", 28 27 .match_id = "usb&hc=vhc" 29 28 }, 30 */ -
uspace/drv/usbhid/main.c
r89acf204 r458e40c 56 56 #include "layout.h" 57 57 58 #define BUFFER_SIZE 858 #define BUFFER_SIZE 32 59 59 #define NAME "usbhid" 60 60 … … 262 262 } 263 263 264 # if 0265 264 /* 266 265 * Kbd functions … … 298 297 return EOK; 299 298 } 299 300 300 static int usbkbd_process_descriptors(usb_hid_dev_kbd_t *kbd_dev) 301 301 { … … 363 363 return EOK; 364 364 } 365 #endif 365 366 366 static usb_hid_dev_kbd_t *usbkbd_init_device(device_t *dev) 367 367 { … … 404 404 */ 405 405 406 407 406 // TODO: get descriptors, parse descriptors and save endpoints 408 //usbkbd_process_descriptors(kbd_dev); 409 usb_drv_req_set_configuration( 410 kbd_dev->device->parent_phone, kbd_dev->address, 1); 407 usbkbd_process_descriptors(kbd_dev); 411 408 412 409 … … 470 467 471 468 while (true) { 472 async_usleep(1000 * 10 );469 async_usleep(1000 * 1000 * 2); 473 470 474 471 sess_rc = usb_endpoint_pipe_start_session(&kbd_dev->poll_pipe); -
uspace/lib/usb/include/usb/devreq.h
r89acf204 r458e40c 70 70 /** Main parameter to the request. */ 71 71 union { 72 uint16_t value;73 72 /* FIXME: add #ifdefs according to host endianess */ 74 73 struct { … … 76 75 uint8_t value_high; 77 76 }; 77 uint16_t value; 78 78 }; 79 79 /** Auxiliary parameter to the request. -
uspace/lib/usb/src/addrkeep.c
r89acf204 r458e40c 33 33 * @brief Address keeping. 34 34 */ 35 #include <usb/ addrkeep.h>35 #include <usb/hcd.h> 36 36 #include <errno.h> 37 37 #include <assert.h>
Note:
See TracChangeset
for help on using the changeset viewer.
