Skip to content

Commit

Permalink
[ARM] Fix PCI_DMA_BUS_IS_PHYS for ARM
Browse files Browse the repository at this point in the history
PCI_DMA_BUS_IS_PHYS was defined to be zero, which meant we ignored
the DMA mask for IDE and SCSI transfers.  This is wrong - we have
no DMA translation hardware.  We want to obey DMA masks so that the
block layer performs bouncing itself.

Reported-by: Mikael Pettersson <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King authored and Russell King committed Sep 13, 2008
1 parent 68ddb1d commit 88c381b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static inline void pcibios_penalize_isa_irq(int irq, int active)
* The networking and block device layers use this boolean for bounce
* buffer decisions.
*/
#define PCI_DMA_BUS_IS_PHYS (0)
#define PCI_DMA_BUS_IS_PHYS (1)

/*
* Whether pci_unmap_{single,page} is a nop depends upon the
Expand Down

0 comments on commit 88c381b

Please sign in to comment.