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

Changeset 2720b51a in mainline


Ignore:
Timestamp:
2011-05-13T18:32:23Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
7eecbb8
Parents:
f64e81a
Message:

lsbusb scan all adresses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/lsusb/main.c

    rf64e81a r2720b51a  
    4949#define NAME "lsusb"
    5050
     51#define MAX_USB_ADDRESS USB11_ADDRESS_MAX
    5152#define MAX_FAILED_ATTEMPTS 10
    5253#define MAX_PATH_LENGTH 1024
     
    7677        }
    7778        usb_address_t addr;
    78         for (addr = 1; addr < 5; addr++) {
     79        for (addr = 1; addr < MAX_USB_ADDRESS; addr++) {
    7980                devman_handle_t dev_handle;
    8081                rc = usb_hc_get_handle_by_address(&conn, addr, &dev_handle);
Note: See TracChangeset for help on using the changeset viewer.