Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • dma
  • dw_dmac_regs.h
Find file BlameHistoryPermalink
  • Hein Tibosch's avatar
    drivers/dma/dw_dmac: make driver's endianness configurable · d5ea7b5e
    Hein Tibosch authored Oct 25, 2012
    The dw_dmac driver was originally developed for avr32 to be used with the
    Synopsys DesignWare AHB DMA controller.  Starting from 2.6.38, access to
    the device's i/o memory was done with the little-endian readl/writel
    functions(1)
    
    This broke the driver for the avr32 platform, because it needs big
    (native) endian accessors.  This patch makes the endianness configurable
    using 'DW_DMAC_BIG_ENDIAN_IO', which will default be true for AVR32
    
    I submitted this patch before(2) but then waited for Andy to finish other
    changes to the same module(3).
    
    (1) https://patchwork.kernel.org/patch/608211
    (2) https://lkml.org/lkml/2012/8/26/148
    (3) https://lkml.org/lkml/2012/9/21/173
    
    Signed-off-by: default avatarHein Tibosch <hein_tibosch@yahoo.es>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
    Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
    Cc: Havard Skinnemoen <havard@skinnemoen.net>
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    d5ea7b5e