Changeset b00163f in mainline for uspace/drv/uhci/main.c


Ignore:
Timestamp:
2011-01-25T21:05:46Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d03ade7
Parents:
89a0485a
Message:

Move transfer initialization an queue to uhci_add_transfer()

Use uhci add transfer for all transfers
Error message fixes

File:
1 edited

Legend:

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

    r89a0485a rb00163f  
    5555static int uhci_add_device(device_t *device)
    5656{
    57 //      usb_dprintf(NAME, DEBUG, "uhci_add_device() called\n");
    5857        uhci_print_info( "uhci_add_device() called\n" );
    5958        device->ops = &uhci_ops;
    6059
    61         uhci_init( device, (void*)0xc020 );
     60        // TODO: get this value out of pci driver
     61        uhci_init(device, (void*)0xc020);
    6262
    6363        return EOK;
     
    7878         * Do some global initializations.
    7979         */
    80         sleep( 5 );
     80        sleep(5);
    8181        usb_dprintf_enable(NAME, DEBUG_LEVEL_MAX);
    8282
Note: See TracChangeset for help on using the changeset viewer.