Changeset 9d06563 in mainline


Ignore:
Timestamp:
2011-04-07T09:21:56Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a4e18e1
Parents:
1c89f74
Message:

fix for non-removables #4

File:
1 edited

Legend:

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

    r1c89f74 r9d06563  
    8888static void usb_hub_process_global_interrupt(usb_hub_info_t * hub_info);
    8989
    90 static int initialize_non_removable(usb_hub_info_t * hub_info,
    91         unsigned int port);
     90//static int initialize_non_removable(usb_hub_info_t * hub_info,
     91//      unsigned int port);
    9292
    9393static int usb_hub_trigger_connecting_non_removable_devices(
     
    227227        size_t port_count = hub_info->port_count;
    228228        //first check non-removable devices
     229        /*
    229230        {
    230231                unsigned int port;
     
    239240                }
    240241        }
    241 
     242        */
    242243
    243244        /// FIXME: count properly
     
    344345         * these lines allow to reset hub once more, it can be used as
    345346         * brute-force initialization for non-removable devices
    346          */
     347         *
    347348        opResult = usb_request_set_configuration(hub_info->control_pipe,
    348349                1);
     
    351352                        opResult);
    352353                return opResult;
    353         }
     354        }*/
    354355
    355356
     
    879880 * @return error code
    880881 */
     882#if 0
    881883static int initialize_non_removable(usb_hub_info_t * hub_info,
    882884        unsigned int port) {
     
    918920        return opResult;
    919921}
    920 
     922#endif
    921923/**
    922924 * triggers actions to connect non0removable devices
Note: See TracChangeset for help on using the changeset viewer.