Changeset db71e2a in mainline for uspace/drv/bus/usb
- Timestamp:
- 2013-07-24T17:42:25Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69b264a9
- Parents:
- 52f1882 (diff), cffa14e6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/drv/bus/usb
- Files:
-
- 8 edited
-
ohci/hc.c (modified) (1 diff)
-
ohci/hw_struct/endpoint_descriptor.c (modified) (1 diff)
-
ohci/hw_struct/hcca.h (modified) (1 diff)
-
ohci/hw_struct/transfer_descriptor.c (modified) (1 diff)
-
uhci/uhci_batch.c (modified) (1 diff)
-
usbhub/port.c (modified) (1 diff)
-
usbmast/scsi_ms.c (modified) (1 diff)
-
vhc/hub/virthubops.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r52f1882 rdb71e2a 533 533 assert(instance); 534 534 535 bzero(&instance->rh, sizeof(instance->rh));535 memset(&instance->rh, 0, sizeof(instance->rh)); 536 536 /* Init queues */ 537 537 const int ret = hc_init_transfer_lists(instance); -
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
r52f1882 rdb71e2a 53 53 { 54 54 assert(instance); 55 bzero(instance, sizeof(ed_t));55 memset(instance, 0, sizeof(ed_t)); 56 56 57 57 if (ep == NULL) { -
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
r52f1882 rdb71e2a 68 68 hcca_t *hcca = memalign(256, sizeof(hcca_t)); 69 69 if (hcca) 70 bzero(hcca, sizeof(hcca_t));70 memset(hcca, 0, sizeof(hcca_t)); 71 71 return hcca; 72 72 } -
uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c
r52f1882 rdb71e2a 58 58 { 59 59 assert(instance); 60 bzero(instance, sizeof(td_t));60 memset(instance, 0, sizeof(td_t)); 61 61 /* Set PID and Error code */ 62 62 OHCI_MEM32_WR(instance->status, -
uspace/drv/bus/usb/uhci/uhci_batch.c
r52f1882 rdb71e2a 112 112 CHECK_NULL_DISPOSE_RETURN(uhci_batch->device_buffer, 113 113 "Failed to allocate UHCI buffer.\n"); 114 bzero(uhci_batch->device_buffer, total_size);114 memset(uhci_batch->device_buffer, 0, total_size); 115 115 116 116 uhci_batch->tds = uhci_batch->device_buffer; -
uspace/drv/bus/usb/usbhub/port.c
r52f1882 rdb71e2a 141 141 usb_log_debug("Interrupt at port %zu\n", port->port_number); 142 142 143 usb_port_status_t status ;143 usb_port_status_t status = 0; 144 144 const int opResult = get_port_status(port, &status); 145 145 if (opResult != EOK) { -
uspace/drv/bus/usb/usbmast/scsi_ms.c
r52f1882 rdb71e2a 167 167 */ 168 168 169 bzero(inq_res, sizeof(*inq_res));169 memset(inq_res, 0, sizeof(*inq_res)); 170 170 171 171 inq_res->device_type = BIT_RANGE_EXTRACT(uint8_t, -
uspace/drv/bus/usb/vhc/hub/virthubops.c
r52f1882 rdb71e2a 299 299 size_t *act_size) 300 300 { 301 int rc ;301 int rc = ENOTSUP; 302 302 size_t port = request->index - 1; 303 303 usb_hub_class_feature_t feature = request->value;
Note:
See TracChangeset
for help on using the changeset viewer.
