Changeset 33cffa7 in mainline for uspace/drv/bus/usb/ohci/ohci_regs.h


Ignore:
Timestamp:
2012-03-16T20:57:20Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64f6cba8
Parents:
d69c698
Message:

ohci: Remove packed attribute from the registry map.

gcc on arm generates 1-byte reads and that's illegal for register access.
Moreover it's not necessary for structure that only contains 32bit integers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_regs.h

    rd69c698 r33cffa7  
    228228#define RHPS_PRSC_FLAG (1 << 20) /* port reset status change WC */
    229229#define RHPS_CHANGE_WC_MASK 0x1f0000
    230 } __attribute__((packed)) ohci_regs_t;
     230} ohci_regs_t;
    231231#endif
    232232/**
Note: See TracChangeset for help on using the changeset viewer.