Changeset d1ca752 in mainline


Ignore:
Timestamp:
2012-03-05T20:19:25Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45f4f19
Parents:
38b950f
Message:

ohci: Remove deprecated endian conversion macros.

Location:
uspace/drv/bus/usb/ohci
Files:
2 edited

Legend:

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

    r38b950f rd1ca752  
    346346void hc_interrupt(hc_t *instance, uint32_t status)
    347347{
    348         status = ohci_reg2host(status);
     348        status = OHCI_RD(status);
    349349        assert(instance);
    350350        if ((status & ~I_SF) == 0) /* ignore sof status */
  • uspace/drv/bus/usb/ohci/ohci_regs.h

    r38b950f rd1ca752  
    3636#include <sys/types.h>
    3737#include <byteorder.h>
    38 
    39 
    40 /* assume OHCI regs are le */
    41 #define host2ohci_reg(value) host2uint32_t_le(value)
    42 #define ohci_reg2host(value) uint32_t_le2host(value)
    4338
    4439#define OHCI_WR(reg, val) reg = host2uint32_t_le(val)
Note: See TracChangeset for help on using the changeset viewer.