Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ee0d8a8 in mainline


Ignore:
Timestamp:
2010-12-10T17:01:47Z (11 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master
Children:
1eb272d, 39701ed
Parents:
fa9b606
Message:

using correct usb address api at hub driver

Location:
uspace/drv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/utils.c

    rfa9b606 ree0d8a8  
    310310        //get some hub info
    311311        usb_address_t addr = usb_drv_get_my_address(hc, device);
    312         addr = 7;
    313312        printf("[usb_hub] addres of newly created hub = %d\n", addr);
    314313        /*if(addr<0){
  • uspace/drv/vhc/hub.c

    rfa9b606 ree0d8a8  
    186186       
    187187        usbvirt_connect_local(&virthub_dev);
    188 
    189         virthub_dev.address = 7;
    190188       
    191189        dprintf(1, "virtual hub (%d ports) created", HUB_PORT_COUNT);
Note: See TracChangeset for help on using the changeset viewer.