Commit Graph

22 Commits (3aad9b4c9b932a6516b29e83c05e6a71959f10b3)

Author SHA1 Message Date
Hauke Mehrtens e9b6c999f5 broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d.
* load the nvram just one time into the own buffer, also when there is
  more than one device.

SVN-Revision: 34381
12 years ago
Hauke Mehrtens 86cc79ac98 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.

SVN-Revision: 34252
12 years ago
Florian Fainelli e5ca54aee9 broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)
SVN-Revision: 33617
12 years ago
Hauke Mehrtens f5fe6252d1 broadcom-wl: fix reading fallback sprom for pci devices.
When using the Broadcom SDK the SSB bus is emulated as an PCI bus so
the PCI bus number of the first real pci bus is increased by one. The
variable names in the nvram are created with that structure in mind. To
fix this we have ti increases the pci bus number by one. This was also
done for ssb some time ago.

This is based on a patch by nlh.
This closes #10917

SVN-Revision: 30422
13 years ago
Hauke Mehrtens 501ee77468 broadcom-wl: fix compile with kernel 3.2
SVN-Revision: 30421
13 years ago
Felix Fietkau c330325bda broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
13 years ago
Jo-Philipp Wich 8ecad9c51a broadcom-wl: give the 007 patch a more meaningful name
SVN-Revision: 27752
13 years ago
Jo-Philipp Wich 1d7ae4aba7 broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus - refresh and reorder patches - introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx - extend wlunbind init script to detach device from bcma-pci-bridge as well
SVN-Revision: 27751
13 years ago
Felix Fietkau b8b060d2fe broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
SVN-Revision: 27348
13 years ago
Felix Fietkau 2383a26168 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
13 years ago
Felix Fietkau 7c8564d7c5 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 26948
13 years ago
Hauke Mehrtens 3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
13 years ago
Hauke Mehrtens 1f8f2aaa37 broadcom-wl: remove pcmcia support
For kernel 2.6.36 some additional pcmcia backpots would be needed, but
this should not depend on pcmcia.

SVN-Revision: 23899
14 years ago
Jo-Philipp Wich 4ae595a3aa broadcom-wl: - update to v5.10.56.27.3 - get fallback SPROM from SSB if neither on-device SPROM nor nvram is available - working brcm63xx support
SVN-Revision: 22173
14 years ago
Hauke Mehrtens 9aa7a94047 broadcom-wl: fix compiling with kernel 2.6.35
SVN-Revision: 22138
14 years ago
Hauke Mehrtens 02a147de0c kernel: fix build problems with recent kernel versions
SVN-Revision: 22137
14 years ago
Jo-Philipp Wich 37f0636c3f broadcom-wl: update to v5.10.56.27.1, initial brcm63xx (MIPS BE) support
SVN-Revision: 22008
14 years ago
Jo-Philipp Wich 28e4d39009 broadcom-wl: - fix compilation against eglibc and glibc (#7521) - unbind device from b43 ssb bridge on boot (#7529)
SVN-Revision: 22007
14 years ago
Hauke Mehrtens 247b1ff93e compile fixes for kernel 2.6.34
SVN-Revision: 21829
14 years ago
Felix Fietkau b6fb8fd821 rename broadcom-wl to broadcom-wl-old
SVN-Revision: 21794
14 years ago
Gabor Juhos c7785c1add package/broadcom-wl: refresh patches
SVN-Revision: 20454
14 years ago
Felix Fietkau 0cb8228277 add timer fix by mmp from http://forum.openwrt.org/viewtopic.php?id=14841
SVN-Revision: 10750
16 years ago