Changeset 5d36062 in mainline for uspace/drv/bus/usb/ohci/hc.c


Ignore:
Timestamp:
2011-07-13T21:02:44Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
159100a
Parents:
ca2815e
Message:

OHCI: Replace volatile uint with ioport type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hc.c

    rca2815e r5d36062  
    9393        ohci_regs_t *registers;
    9494        const int ret = pio_enable((void*)regs, reg_size, (void**)&registers);
     95        if (ret != EOK)
     96                return ret;
    9597
    9698        /* Some bogus access to force create mapping. DO NOT remove,
     
    105107         */
    106108        registers->revision;
    107 
    108         if (ret != EOK)
    109                 return ret;
    110109
    111110        memcpy(cmds, ohci_irq_commands, sizeof(ohci_irq_commands));
Note: See TracChangeset for help on using the changeset viewer.