• Michael Buesch's avatar
    b43: Enforce DMA descriptor memory constraints · 9bd568a5
    Michael Buesch authored
    Enforce all device constraints on the descriptor memory region.
    There are several constraints on the descriptor memory, as documented
    in the specification. The current code does not enforce them and/or
    incorrectly enforces them.
    Those constraints are:
    - The address limitations on 30/32bit engines, that also apply to
      the skbs.
    - The 4k alignment requirement on 30/32bit engines.
    - The 8k alignment requirement on 64bit engines.
    Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
dma.h 9.55 KB