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)
commit2383a2616849132ef85efc8b6336322b153b7895
treee3a0793674d691e54e516174437d5e2a1de7256e
parent7c8564d7c508fce04e37daba65faee5420bb0d9d
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]