Changeset 5156580 in mainline
- Timestamp:
- 2011-03-21T13:37:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9078de8f
- Parents:
- d328172
- Location:
- uspace/drv/ohci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.c
rd328172 r5156580 45 45 #include "hc.h" 46 46 47 static int dummy_reset(int foo, void * bar)47 static int dummy_reset(int foo, void *arg) 48 48 { 49 hc_t *hc = (hc_t*)arg; 50 assert(hc); 51 hc->rh.address = 0; 49 52 return EOK; 50 53 } … … 95 98 devman_handle_t handle; 96 99 ret = usb_hc_new_device_wrapper(dev, &conn, USB_SPEED_FULL, dummy_reset, 97 0, NULL, &address, &handle, NULL, NULL, NULL);100 0, instance, &address, &handle, NULL, NULL, NULL); 98 101 CHECK_RET_RETURN(ret, "Failed to add rh device.\n"); 99 102 -
uspace/drv/ohci/root_hub.c
rd328172 r5156580 46 46 { 47 47 assert(instance); 48 instance->address = 0;48 instance->address = -1; 49 49 instance->registers = regs; 50 50 instance->device = dev;
Note:
See TracChangeset
for help on using the changeset viewer.