1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 20:31:07 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
hauke
37d47ead81 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:11:17 +00:00
hauke
ff689101db broadcom-wl: fix compile with kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:07:14 +00:00
nbd
525e22f230 broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 18:41:05 +00:00
jow
c3cc5459ec [package] broadcom-wl: give the 007 patch a more meaningful name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:14:48 +00:00
jow
df14a3269c [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:10:39 +00:00
nbd
72bfd39048 broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:01:24 +00:00
nbd
551aa37b2f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:08:02 +00:00
nbd
f359241ffe broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:07:57 +00:00
hauke
374bb82f67 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
hauke
bedf12ad6b broadcom-wl: remove pcmcia support
For kernel 2.6.36 some additional pcmcia backpots would be needed, but 
this should not depend on pcmcia.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 18:28:45 +00:00
jow
c2f4d2e347 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:55:57 +00:00
hauke
f9840c8bfe broadcom-wl: fix compiling with kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:33:46 +00:00
hauke
0fac63b557 kernel: fix build problems with recent kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:00:23 +00:00
jow
fe1160efb9 [package] broadcom-wl: update to v5.10.56.27.1, initial brcm63xx (MIPS BE) support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:31:28 +00:00
jow
db7c7e9e4d [package] broadcom-wl:
- fix compilation against eglibc and glibc (#7521)
	- unbind device from b43 ssb bridge on boot (#7529)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:06:32 +00:00
hauke
b4b3537c7f compile fixes for kernel 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 19:29:57 +00:00
nbd
96465c018c rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
juhosg
adc57834c9 package/broadcom-wl: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:27:41 +00:00
nbd
66c6b4d3b3 add timer fix by mmp from http://forum.openwrt.org/viewtopic.php?id=14841
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 00:24:26 +00:00