juhosg
4bcb729a13
generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:43 +00:00
juhosg
fc85856afd
generic: rtl8366: add is_vlan_valid function to smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:39 +00:00
juhosg
5476411f3d
generic: rtl8366: add common rtl8366_sw_get_port_mib function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:36 +00:00
juhosg
a072aff468
generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:32 +00:00
juhosg
b956ede575
generic: rtl8366: make rtl8366_{g,s}et_pvid static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:29 +00:00
juhosg
6938bc08df
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:25 +00:00
juhosg
e920aacf90
generic: rtl8366: add setup to rtl8366_smi_ops struct
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:21 +00:00
juhosg
ec7835703b
generic: rtl8366: introduce rtl8366_smi_alloc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:16 +00:00
juhosg
a8fb744861
generic: rtl8366: get rid of private rtl8366{s,rb} structs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:10 +00:00
juhosg
e2d43315df
generic: rtl8366: move switch device to the rtl8366_smi struct
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:06 +00:00
juhosg
320e8ef881
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
juhosg
c26785337f
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
juhosg
f6814dd201
madwifi: in-flash macs for mach-eap7660d
...
This patch makes madwifi respect (at least) the platform_data
supplied MAC address.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:37:00 +00:00
juhosg
e528e02ba9
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
juhosg
b518ed32e2
ath5k: in-flash macs and eeprom for mach-eap7660d
...
This adds ath5k_platform.h to mac80211 and patches ath5k to respect
MAC addresses and eeprom content from platform_data, if supplied.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:55 +00:00
juhosg
e14f929ec7
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
cshore
8ec9d56a59
[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
nbd
0859bbd9dd
enable ipv6 support for packages by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 18:45:29 +00:00
jow
e5dbd628ed
[package] broadcom-wl: fix md5sums
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 17:21:44 +00:00
jow
fab9e74eaf
[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
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
juhosg
fa4dd3d5de
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
juhosg
675367fe81
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
juhosg
76ca646102
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
juhosg
c43902582a
tools/firmware-utils: enhance mktplinkfw utility
...
Attached patch enhances the mktplinkfw utility:
1. existing firmware files in TP-Link format can now be inspected, showing eg. the used offsets
2. optionally the kernel and rootfs parts can be extracted (saves calculations for dd)
3. when generating firmwares, kernel entry point, load address and rootfs offset can be overwritten (for experienced users)
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
jow
be1d1d9f02
[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
nbd
372c8c5e68
mac80211: improve reliability of the keymiss handling fix, add another aggregation leak fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 19:16:22 +00:00
cshore
c98e83d466
[package] block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 17:28:50 +00:00
cshore
36d52e89e7
[package]: block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:35:39 +00:00
cshore
52993b922e
[package]: block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599 .
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:25:09 +00:00
nico
86bb57e717
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:01:13 +00:00
claudio
ae57d8838c
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
d63165a48d
[kernel] Add package for gpio rotary encoder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:20:04 +00:00
claudio
4747359497
[kernel] Add package for gpio-pwm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:20:01 +00:00
claudio
5c39ae21ff
[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
24a6afd4e7
kernel: modules names changed with kernel 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:39:30 +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
hauke
023534e4cf
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
a04d4f8ddb
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
nbd
3a46cb8e16
ath9k: remove support for hardware which was never sold. reduces binary size by ~30k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 15:19:43 +00:00
claudio
b40bc2899b
[kernel] kmod-usb-core is buildin on etrax target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:11 +00:00
claudio
453df530fd
[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
b9ca13b775
[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
nbd
e62c8091ba
ath9k: improve reliability of the noise floor calibration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 11:56:18 +00:00
claudio
f845016e5d
[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
nbd
b03d47c107
ath9k: add another batch of stability updates and misc fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 03:50:46 +00:00
hauke
af2bb2e258
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
30feff8b48
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
nbd
f231b38166
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