Commit graph

5573 commits

Author SHA1 Message Date
Gabor Juhos
b093cec6cc generic: rtl8366: introduce rtl8366_smi_alloc
SVN-Revision: 22195
2010-07-15 13:05:16 +00:00
Gabor Juhos
c7bc8fb46c generic: rtl8366: get rid of private rtl8366{s,rb} structs
SVN-Revision: 22194
2010-07-15 13:05:10 +00:00
Gabor Juhos
008c81b859 generic: rtl8366: move switch device to the rtl8366_smi struct
SVN-Revision: 22193
2010-07-15 13:05:06 +00:00
Gabor Juhos
5508b23aaf generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

SVN-Revision: 22192
2010-07-15 13:05:02 +00:00
Gabor Juhos
540b3e6419 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
SVN-Revision: 22191
2010-07-15 13:04:57 +00:00
Gabor Juhos
4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Daniel Dickinson
17ba48cd90 target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
2010-07-15 02:46:03 +00:00
Jo-Philipp Wich
abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Gabor Juhos
d14e9e706e ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 22172
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Jo-Philipp Wich
9978dd7637 export SSB fallback SPROM - required for wl.ko
SVN-Revision: 22168
2010-07-13 16:20:29 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Claudio Mignanti
86f3d57a00 pwm: use coherent naming to avoid conflicts
SVN-Revision: 22142
2010-07-12 13:19:57 +00:00
Hauke Mehrtens
91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00
Hauke Mehrtens
d6e8db7e6a kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 22135
2010-07-11 18:50:55 +00:00
Claudio Mignanti
07ccad1f99 enable usb support by default.
SVN-Revision: 22129
2010-07-11 12:27:09 +00:00
Claudio Mignanti
ba56a699a9 add defautl config for eth0
SVN-Revision: 22128
2010-07-11 12:27:05 +00:00
Claudio Mignanti
581dfd912c fix typo in Makefile tgz -> targz
SVN-Revision: 22125
2010-07-11 09:53:00 +00:00
Hauke Mehrtens
3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau
9c8d55541a brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
2010-07-10 12:17:41 +00:00
Felix Fietkau
fbff44c98a Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

SVN-Revision: 22110
2010-07-10 00:48:37 +00:00
Claudio Mignanti
482557bc88 fix a bug inside usb driver, thanks to Jesper Nilsson
SVN-Revision: 22105
2010-07-09 10:58:44 +00:00
Claudio Mignanti
63a7fad924 add some missing symbols
SVN-Revision: 22104
2010-07-09 10:58:40 +00:00
Hamish Guthrie
0a82d07f4b gumstix: add luci
SVN-Revision: 22093
2010-07-08 12:46:36 +00:00
Hamish Guthrie
35539f9709 Add kmod-usb-hid
SVN-Revision: 22086
2010-07-07 12:30:29 +00:00
Hauke Mehrtens
3aa9ba520f kernel: add missing config option found by buildbot
SVN-Revision: 22080
2010-07-06 20:50:47 +00:00
Felix Fietkau
36b295eefd repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33 this should fix the mac80211 problems in 2.6.33 and later versions
SVN-Revision: 22079
2010-07-06 18:53:55 +00:00
Felix Fietkau
a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
3e425b2cbc add mini_fo fix to 2.6.30 as well
SVN-Revision: 22058
2010-07-04 15:35:34 +00:00
Felix Fietkau
3512ba10c0 mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
SVN-Revision: 22057
2010-07-04 15:28:41 +00:00
Felix Fietkau
15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
86b4b5e1e9 generic: rtl8366: enable VLAN ingress filtering
SVN-Revision: 22044
2010-07-02 09:55:57 +00:00
Florian Fainelli
b917b09b91 refresh 2.6.34 patches
SVN-Revision: 22042
2010-07-01 22:28:22 +00:00
Florian Fainelli
7484ad4108 add 2.6.34 support
SVN-Revision: 22041
2010-07-01 22:28:16 +00:00
Florian Fainelli
a92623b92a fix line wrapped patch
SVN-Revision: 22040
2010-07-01 22:28:05 +00:00
Florian Fainelli
48b8c5e945 fix PCI, thanks br1, put back 2.6.32.14 support by default
SVN-Revision: 22033
2010-07-01 19:07:27 +00:00
Markus Wigge
25602743d1 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

SVN-Revision: 22019
2010-07-01 16:26:24 +00:00
Gabor Juhos
5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Markus Wigge
114ce0bd4c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.

SVN-Revision: 22013
2010-07-01 10:48:13 +00:00
Florian Fainelli
09ed7e00a4 revert upstream commit that broke PCI until we have a better fix
SVN-Revision: 22010
2010-07-01 08:30:16 +00:00
Jo-Philipp Wich
1650f33f97 add a wifi profile for proprietary wl
SVN-Revision: 22009
2010-07-01 01:39:04 +00:00
Jo-Philipp Wich
d6d8014cfd fix dir-825-b1 default network config after r21905
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
cd2069a57c fix commit r21994 (thanks juhosg)
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Claudio Mignanti
d30bf22a55 Don't force pci support on .34 and .35
SVN-Revision: 21993
2010-06-30 17:23:19 +00:00
Claudio Mignanti
ffa2e4eaec Add board definition previously forgotten
SVN-Revision: 21991
2010-06-30 15:06:17 +00:00
Gabor Juhos
50d88ac7d4 generic: rtl8366: minor cleanup
SVN-Revision: 21985
2010-06-28 17:24:05 +00:00
Gabor Juhos
e19838e04c generic: rtl8366: add common read_debugfs_mibs function
SVN-Revision: 21984
2010-06-28 17:24:02 +00:00
Gabor Juhos
393f0bda89 generic: rtl8366: standardize read_debugfs_mibs functions
SVN-Revision: 21983
2010-06-28 17:23:59 +00:00
Gabor Juhos
5986c1f2d0 generic: rtl8366: use common rtl8366_mib_counter structure
SVN-Revision: 21982
2010-06-28 17:23:56 +00:00
Gabor Juhos
672018a30d generic: rtl8366: move common debugfs code to rtl8366_smi.c
SVN-Revision: 21981
2010-06-28 17:23:52 +00:00
Gabor Juhos
19ed040c62 generic: rtl8366: move buf to struct rtl8366_smi
SVN-Revision: 21980
2010-06-28 17:23:48 +00:00
Gabor Juhos
830b04bd72 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
SVN-Revision: 21979
2010-06-28 17:23:45 +00:00
Gabor Juhos
81e9e7916f generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
SVN-Revision: 21978
2010-06-28 17:23:41 +00:00
Gabor Juhos
08942e9a98 generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
SVN-Revision: 21977
2010-06-28 17:23:37 +00:00
Gabor Juhos
e8e8554192 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
SVN-Revision: 21976
2010-06-28 17:23:33 +00:00
Gabor Juhos
c4dc96934d generic: rtl8366rb: fix MIB counter reset
SVN-Revision: 21969
2010-06-27 14:37:34 +00:00
Florian Fainelli
f394178e15 reinstate 2.6.30 support until 2.6.32 is fixed
SVN-Revision: 21959
2010-06-26 22:18:23 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
95c5443b84 remove generic linux 2.4 support
SVN-Revision: 21948
2010-06-26 20:42:18 +00:00
Felix Fietkau
cfbefb4b87 remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
SVN-Revision: 21946
2010-06-26 20:41:59 +00:00
Felix Fietkau
812f026323 add back the base-files/image code from brcm-2.4 to brcm47xx
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Gabor Juhos
8989c682c4 generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
SVN-Revision: 21923
2010-06-26 19:16:48 +00:00
Gabor Juhos
f60301e82b generic: rtl8366: update vlan handling code for rtl8366s
SVN-Revision: 21922
2010-06-26 19:16:45 +00:00
Gabor Juhos
d4d8c4d7ea generic: rtl8366: update vlan handling code of rtl8366rb
SVN-Revision: 21921
2010-06-26 19:16:41 +00:00
Gabor Juhos
62f2e8e981 generic: rtl8366: add hw_init to initialize registers after reset
SVN-Revision: 21920
2010-06-26 19:16:38 +00:00
Gabor Juhos
91a3323401 generic: rtl8366: introduce rtl8366_smi_rmwr function
SVN-Revision: 21919
2010-06-26 19:16:34 +00:00
Gabor Juhos
23e44e1367 generic: rtl8366s: get some MIB counters from another offset
SVN-Revision: 21918
2010-06-26 19:16:30 +00:00
Gabor Juhos
e89c10585e generic: rtl8366: cleanup MIB counter printing
SVN-Revision: 21917
2010-06-26 19:16:27 +00:00
Gabor Juhos
0d6fb64ac3 generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
SVN-Revision: 21916
2010-06-26 19:16:24 +00:00
Gabor Juhos
14688b75b7 generic: rtl8366: add common vlan_4k structure
SVN-Revision: 21915
2010-06-26 19:16:20 +00:00
Gabor Juhos
3d9c3067d3 generic: rtl8366: add common vlan_mc structure
SVN-Revision: 21914
2010-06-26 19:16:16 +00:00
Gabor Juhos
a6b57e3d3c generic: rtl8366: rename vlanmc and vlan4k related structures an functions
SVN-Revision: 21913
2010-06-26 19:16:12 +00:00
Gabor Juhos
5078264bef generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
SVN-Revision: 21912
2010-06-26 19:16:06 +00:00
Gabor Juhos
47de539b93 generic: rtl8366: move mii bus handling to the rtl8366_smi code
SVN-Revision: 21911
2010-06-26 19:16:01 +00:00
Gabor Juhos
dcc8caac45 generic: rtl8366: introduce rtl8366_smi_ops
SVN-Revision: 21910
2010-06-26 19:15:57 +00:00
Gabor Juhos
3471627f59 generic: rtl8366: change format string for debugfs error messages
SVN-Revision: 21909
2010-06-26 19:15:52 +00:00
Gabor Juhos
e627f76251 generic: rtl8366: don't show link parameters if the link is down
SVN-Revision: 21908
2010-06-26 19:15:48 +00:00
Gabor Juhos
0aa0d49169 generic: rtl8366: fix register offset and size of MIB counters
SVN-Revision: 21907
2010-06-26 19:15:43 +00:00
Gabor Juhos
8742057763 generic: rtl8366: prevent modifications of VLAN 0
SVN-Revision: 21906
2010-06-26 19:15:38 +00:00
Gabor Juhos
e827a12c48 ar71xx: don't use vlan 0 for devices with rtl8366s switch
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Hamish Guthrie
2f5a5497be Add script support for Marvell 88W8686 mac80211. This is a hack now, but it works. cfg80211 is very broken in the current mainline Marvell driver. A new patch set to address this is in linux-next, I just do not have time today to address it.
SVN-Revision: 21899
2010-06-25 08:11:54 +00:00
Hamish Guthrie
ca67278b9e Use modules for wifi and usb
SVN-Revision: 21898
2010-06-25 08:08:05 +00:00
Alexandros C. Couloumbis
6bc17e57b0 ixp4xx: remove 2.6.35 unedded patches
SVN-Revision: 21897
2010-06-25 04:37:14 +00:00
Alexandros C. Couloumbis
257d87204b mpc83xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21896
2010-06-24 15:07:36 +00:00
Alexandros C. Couloumbis
7381af2207 ixp4xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21895
2010-06-24 14:40:36 +00:00
Alexandros C. Couloumbis
7cf04396c5 ixp4xx: add Mikael Petterssons patch works
SVN-Revision: 21894
2010-06-24 14:38:03 +00:00
Alexandros C. Couloumbis
93db39b3d3 ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
SVN-Revision: 21893
2010-06-24 14:36:41 +00:00
Alexandros C. Couloumbis
3c52f9a53d ixp4xx: add Titan Wireless TW-266-2 support
SVN-Revision: 21892
2010-06-24 14:34:49 +00:00
Alexandros C. Couloumbis
2b66b4735b ixp4xx: add kernel 2.6.33 preliminary support
SVN-Revision: 21891
2010-06-24 14:29:41 +00:00
Alexandros C. Couloumbis
60b4d65953 ixp4xx: revert kernel support for 2.6.33 & 2.6.35
SVN-Revision: 21890
2010-06-24 14:25:07 +00:00
Florian Fainelli
6f4c13a017 add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
SVN-Revision: 21889
2010-06-24 12:17:46 +00:00
Jo-Philipp Wich
91468dcf4f package TPROXY target and module infrastructure
SVN-Revision: 21883
2010-06-22 22:39:22 +00:00
Hauke Mehrtens
ded2b77652 orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
Thank you Maddes for your patch

This closes #7441

SVN-Revision: 21882
2010-06-22 21:05:29 +00:00
Alexandros C. Couloumbis
f2bf29dcfb ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
SVN-Revision: 21879
2010-06-22 14:10:55 +00:00