Changeset e0ba26b in mainline for uspace/drv/usbhub/main.c


Ignore:
Timestamp:
2011-01-25T19:20:26Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
192a0063
Parents:
a088d15 (diff), 68a68705 (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.
Message:

Merged vojtechhorky/ - various fixes

The merge includes following changes

  • USB transaction outcome is propagated to clients
  • virtual host controller handles device unplugging
  • Doxygen documentation fixes
File:
1 edited

Legend:

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

    ra088d15 re0ba26b  
    6060int main(int argc, char *argv[])
    6161{
    62         usb_dprintf_enable(NAME,1);
     62        usb_dprintf_enable(NAME, 0);
     63
    6364        futex_initialize(&usb_hub_list_lock, 0);
    6465        usb_lst_init(&usb_hub_list);
    6566        futex_up(&usb_hub_list_lock);
     67
    6668        fid_t fid = fibril_create(usb_hub_control_loop, NULL);
    6769        if (fid == 0) {
    68                 dprintf(1, "failed to start fibril for HUB devices");
    69                 //printf("%s: failed to start fibril for HUB devices\n", NAME);
     70                fprintf(stderr, NAME ": failed to start monitoring fibril," \
     71                    " driver aborting.\n");
    7072                return ENOMEM;
    7173        }
Note: See TracChangeset for help on using the changeset viewer.