On Friday 26 September 2008 22:27:11 Aurelien Jarno wrote: > For SSB_BUSTYPE_SSB type devices, we need to initialize dma_mask using > coherent_dma_mask so that calls to dma_set_mask() succeed.
This is a hack IMO and the mips DMA API should be fixed. However, I can live with it and you can add my ACK. > It fixes the regression on the b44 driver introduced by commit > f225763a7d6c92c4932dbd528437997078496fcc > > Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> > --- > drivers/ssb/main.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c > index 87ab244..0ffabf5 100644 > --- a/drivers/ssb/main.c > +++ b/drivers/ssb/main.c > @@ -471,6 +471,7 @@ static int ssb_devices_register(struct ssb_bus *bus) > #endif > break; > case SSB_BUSTYPE_SSB: > + dev->dma_mask = &dev->coherent_dma_mask; > break; > } > > -- > 1.5.6.5 > -- Greetings Michael. _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
