Ignore:
File:
1 edited

Legend:

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

    r281ebae rf40a1e2  
    2525 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    27  */
    28 
    29 /** @addtogroup drvusbhub
    30  * @{
    3127 */
    3228
     
    6460int main(int argc, char *argv[])
    6561{
    66         usb_dprintf_enable(NAME, 0);
    67 
     62        usb_dprintf_enable(NAME,1);
    6863        futex_initialize(&usb_hub_list_lock, 0);
    6964        usb_lst_init(&usb_hub_list);
    7065        futex_up(&usb_hub_list_lock);
    71 
    7266        fid_t fid = fibril_create(usb_hub_control_loop, NULL);
    7367        if (fid == 0) {
    74                 fprintf(stderr, NAME ": failed to start monitoring fibril," \
    75                     " driver aborting.\n");
     68                dprintf(1, "failed to start fibril for HUB devices");
     69                //printf("%s: failed to start fibril for HUB devices\n", NAME);
    7670                return ENOMEM;
    7771        }
     
    8074        return driver_main(&hub_driver);
    8175}
    82 
    83 /**
    84  * @}
    85  */
    86 
Note: See TracChangeset for help on using the changeset viewer.