broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 May 2011 10:08:02 +0000 (10:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 May 2011 10:08:02 +0000 (10:08 +0000)
commitaecad02801e649ea58cadfc1f0ed25609f2b8358
tree1d9533e6f826c5dc639ee7f55038a5d919b4f0a1
parent973749562f9665af5c5fab0fc95a095aea409f07
broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api

broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.

The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 26949
package/broadcom-wl/patches/006-generic-dma-api.patch [new file with mode: 0644]