Skip to content

Commit

Permalink
s390/pci: enable NEED_DMA_MAP_STATE
Browse files Browse the repository at this point in the history
The DMA API allows to avoid DMA unmaps because they are NOPs on some
plattforms. But not on s390, so force them.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Jan Glauber authored and Martin Schwidefsky committed Dec 5, 2012
1 parent c59b9f9 commit 9163003
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ config NEED_SG_DMA_LENGTH
config HAVE_DMA_ATTRS
def_bool PCI

config NEED_DMA_MAP_STATE
def_bool PCI

config CHSC_SCH
def_tristate m
prompt "Support for CHSC subchannels"
Expand Down

0 comments on commit 9163003

Please sign in to comment.