Gabor Juhos
956de1c120
ramips: enable ethernet driver for rt288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:49 +00:00
Gabor Juhos
62d8c17df5
ramips: register ethernet device on the RT-N15
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:46 +00:00
Gabor Juhos
5c7c1c3dba
ramips: add generic ethernet device for the RT288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:43 +00:00
Gabor Juhos
69e79c381f
ramips: add mdio_cfg configuration for the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:40 +00:00
Gabor Juhos
dc6dcc66a4
generic: rtl8366: add debugfs file to show PVIDs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:56 +00:00
Gabor Juhos
60553e9fb4
generic: rtl8366: make rtl8366_set_vlan static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:53 +00:00
Gabor Juhos
2693b15c0e
generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:50 +00:00
Gabor Juhos
7b6b73dc84
generic: rtl8366: add common rtl8366_sw_get_vlan_info
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:47 +00:00
Gabor Juhos
80fd673252
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
Gabor Juhos
d2d1fc5eb6
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
Gabor Juhos
cf551c6259
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
Gabor Juhos
bd79e0b9fc
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
Gabor Juhos
941938939e
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
Gabor Juhos
66dcd51b3e
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
Gabor Juhos
23ba874c9c
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
Gabor Juhos
6ccacc5e4f
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
Gabor Juhos
430322ad55
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
Gabor Juhos
107c356916
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
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
6d1ca0acf0
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
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
59b4bb5361
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
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
Felix Fietkau
de8deb8a3a
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
Jo-Philipp Wich
e5c290bdfc
[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
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
Jo-Philipp Wich
2e76707ef7
[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
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
Gabor Juhos
61c81bfbe9
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
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
Felix Fietkau
a3f586510f
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
Daniel Dickinson
9930188d22
[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
Daniel Dickinson
efa3beb78b
[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
Daniel Dickinson
d2f3a21390
[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
Nicolas Thill
466667bc03
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 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
25949aa5d8
[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 Mignanti
8054d2a958
[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 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
29910ddb5f
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 Mehrtens
3f57f6f219
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 Mehrtens
168a565cbd
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 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
Felix Fietkau
54c2820415
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 Mignanti
03faf266f4
[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