Changeset fe9d542 in mainline


Ignore:
Timestamp:
2013-01-27T17:30:02Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8582076
Parents:
5debe97
Message:

ubsinfo: add few explanatory comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/list.c

    r5debe97 rfe9d542  
    4848#include "usbinfo.h"
    4949
    50 #define MAX_USB_ADDRESS USB11_ADDRESS_MAX
    5150#define MAX_PATH_LENGTH 1024
    5251
     
    6463{
    6564        for (size_t i = 0; i < count; ++i) {
     65                /* Skip hc ctl function */
    6666                if (fhs[i] == bus_handle)
    6767                        continue;
     
    130130                        continue;
    131131                }
     132
    132133                char path[MAX_PATH_LENGTH];
    133134                rc = devman_fun_get_path(hc_handle, path, MAX_PATH_LENGTH);
     
    139140                print_found_hc(svcs[i], path);
    140141
     142                /* Construct device's path.
     143                 * That's "hc function path" - ( '/' + "hc function name" ) */
    141144                // TODO replace this with something sane
    142145                char name[10];
Note: See TracChangeset for help on using the changeset viewer.