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


Ignore:
Timestamp:
2011-02-25T16:56:52Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c877b2, b8622e2
Parents:
cc34f32f
Message:

codelifting of latest hub driver changes

File:
1 edited

Legend:

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

    rcc34f32f rdff940f8  
    5252};
    5353
    54 /*
    55 int usb_hub_control_loop(void * noparam){
    56         while(true){
    57                 usb_hub_check_hub_changes();
    58                 async_usleep(1000 * 1000 );/// \TODO proper number once
    59         }
    60         return 0;
    61 }
    62 */
    63 
    6454int main(int argc, char *argv[])
    6555{
     
    7363        fibril_mutex_unlock(&usb_hub_list_lock);
    7464       
    75 /*
    76         fid_t fid = fibril_create(usb_hub_control_loop, NULL);
    77         if (fid == 0) {
    78                 fprintf(stderr, NAME ": failed to start monitoring fibril," \
    79                     " driver aborting.\n");
    80                 return ENOMEM;
    81         }
    82         fibril_add_ready(fid);
    83 */
    8465        return ddf_driver_main(&hub_driver);
    8566}
Note: See TracChangeset for help on using the changeset viewer.