Commit Graph

6351 Commits (1f37fff7de8c8ebed6128b580ba991535a0586c8)

Author SHA1 Message Date
Gabor Juhos 1f37fff7de 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:02 +00:00
Gabor Juhos e215d60a70 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:04:57 +00:00
Gabor Juhos e0afcb82f9 generic: move ath5k_platform.h from ar71xx to generic files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
Gabor Juhos 20a0bba898 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
Daniel Dickinson de82c5a782 [brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 02:46:03 +00:00
Jo-Philipp Wich 1cff76c4b1 [brcm63xx] add required exports for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 17:03:56 +00:00
Gabor Juhos 5cce2b0a05 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
Gabor Juhos 33eba7e060 ramips: protect GPIO register access with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
Gabor Juhos 4636b12f8a ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:02 +00:00
Jo-Philipp Wich 4a7d8b0593 [kernel] export SSB fallback SPROM - required for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:20:29 +00:00
Claudio Mignanti 33990405fb massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Claudio Mignanti f89d76bff4 [kernel] pwm: use coherent naming to avoid conflicts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:19:57 +00:00
Hauke Mehrtens 208fd71865 kernel: Add missing kernel config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:52:30 +00:00
Hauke Mehrtens 738cd05f6c kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:50:55 +00:00
Claudio Mignanti 3c64ce369f [etrax] enable usb support by default.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:09 +00:00
Claudio Mignanti 397fefb969 [at91] add defautl config for eth0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:05 +00:00
Claudio Mignanti 8751ecc1ce [at91] fix typo in Makefile tgz -> targz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 09:53:00 +00:00
Hauke Mehrtens 422138d2f3 brcm47xx: use kernel 2.6.34.1 as default kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:40:45 +00:00
Hauke Mehrtens 924f0f93f9 kernel: update to kernel 2.6.34.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
Felix Fietkau 8f413218ba brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 12:17:41 +00:00
Felix Fietkau b446b881a9 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 00:48:37 +00:00
Claudio Mignanti 5c42d22382 [etrax] fix a bug inside usb driver, thanks to Jesper Nilsson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:44 +00:00
Claudio Mignanti 159d5fa52e [at91] add some missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:40 +00:00
Hamish Guthrie 322db99564 gumstix: add luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 12:46:36 +00:00
Hamish Guthrie 7c7e9834f8 [omap35xx] Add kmod-usb-hid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 12:30:29 +00:00
Hauke Mehrtens ad0a35c88b kernel: add missing config option found by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 20:50:47 +00:00
Felix Fietkau f594246f60 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:55 +00:00
Felix Fietkau bf6dfd437d 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
Felix Fietkau 95d71b860c add mini_fo fix to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:35:34 +00:00
Felix Fietkau 3e247784cd mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:28:41 +00:00
Felix Fietkau e12c89f637 ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
Felix Fietkau d7965cb882 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
Gabor Juhos d4a858f5a6 generic: rtl8366: enable VLAN ingress filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-02 09:55:57 +00:00
Florian Fainelli b81b30cef7 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:22 +00:00
Florian Fainelli a757dd969e [au1000] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:16 +00:00
Florian Fainelli 5d141849c3 [au1000] fix line wrapped patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:05 +00:00
Florian Fainelli 5f5baa1807 [au1000] fix PCI, thanks br1, put back 2.6.32.14 support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 19:07:27 +00:00
Markus Wigge 36b02072c5 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 16:26:24 +00:00
Gabor Juhos ec990bbb44 ar71xx: fix leds-rb750 build failure on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
Markus Wigge a45f1b422c 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:48:13 +00:00
Florian Fainelli 364325f08e [au1000] revert upstream commit that broke PCI until we have a better fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 08:30:16 +00:00
Jo-Philipp Wich dc8d0d6700 [brcm63xx] add a wifi profile for proprietary wl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:39:04 +00:00
Jo-Philipp Wich 0db40a2692 [ar71xx] fix dir-825-b1 default network config after r21905
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis 7c4b4feec9 fix commit r21994 (thanks juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis 9d0627a92d fix commit r21993
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
Claudio Mignanti 9de331b93c [kernel] Don't force pci support on .34 and .35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 17:23:19 +00:00
Claudio Mignanti 2c03794849 [at91] Add board definition previously forgotten
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 15:06:17 +00:00
Gabor Juhos 19842ab5da generic: rtl8366: minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:05 +00:00
Gabor Juhos f10a8dfb53 generic: rtl8366: add common read_debugfs_mibs function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:02 +00:00
Gabor Juhos dfb546253b generic: rtl8366: standardize read_debugfs_mibs functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:59 +00:00