[PATCH v2] b43legacy: Fix usage of struct device used for DMAing

2008-04-11 Thread Michael Buesch
This fixes b43legacy for the SSB DMA API change. Signed-off-by: Michael Buesch <[EMAIL PROTECTED]> Cc: Stefano Brivio <[EMAIL PROTECTED]> --- John, this is the fixed version of the bugfix for 2.6.25 :P Index: wireless-testing/drivers/net/wireless/b43legacy/dma.c ===

[PATCH] b43legacy: Fix usage of struct device used for DMAing

2008-04-11 Thread Michael Buesch
This fixes b43legacy for the SSB DMA API change. Signed-off-by: Michael Buesch <[EMAIL PROTECTED]> Cc: Stefano Brivio <[EMAIL PROTECTED]> --- John, this is a bugfix for 2.6.25 Index: wireless-testing/drivers/net/wireless/b43legacy/dma.c =

[PATCH] ssb: Fix usage of struct device used for DMAing

2008-04-11 Thread Michael Buesch
This fixes DMA on architectures where DMA is nontrivial, like PPC64. We must use the host-device's (PCI) struct device for any DMA operation instead of the SSB device. For this we add a new struct device pointer to the SSB device structure that will always point to the right device for DMAing. Wit