Changeset d52ab7b in mainline for uspace/drv/bus/usb/uhci/hc.c


Ignore:
Timestamp:
2014-03-16T16:33:39Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e231aba
Parents:
8cffdf5
Message:

Use proper ioport8/16/32_t for I/O register representation in UHCI HC.

File:
1 edited

Legend:

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

    r8cffdf5 rd52ab7b  
    123123        memcpy(cmds, uhci_irq_commands, sizeof(uhci_irq_commands));
    124124        uhci_regs_t *registers = (uhci_regs_t *) RNGABSPTR(*regs);
    125         cmds[0].addr = &registers->usbsts;
    126         cmds[3].addr = &registers->usbsts;
     125        cmds[0].addr = (void *) &registers->usbsts;
     126        cmds[3].addr = (void *) &registers->usbsts;
    127127
    128128        return EOK;
Note: See TracChangeset for help on using the changeset viewer.