Commit Graph

15718 Commits

Author SHA1 Message Date
Jo-Philipp Wich
9c3244a884 dnsmasq: add and enable DNS rebind protections
SVN-Revision: 22222
2010-07-16 00:06:59 +00:00
Jo-Philipp Wich
d6d1dd47d3 firewall: fix another notrack related bug
SVN-Revision: 22218
2010-07-15 23:24:01 +00:00
Jo-Philipp Wich
f8fa598bf4 firewall: - notrack support was broken in multiple ways, fix it - also consider a zone conntracked if any redirect references it (#7196)
SVN-Revision: 22215
2010-07-15 22:01:48 +00:00
Gabor Juhos
1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos
2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos
0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
Gabor Juhos
9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
2010-07-15 13:05:56 +00:00
Gabor Juhos
9a92e1a32c generic: rtl8366: make rtl8366_set_vlan static
SVN-Revision: 22205
2010-07-15 13:05:53 +00:00
Gabor Juhos
48934bbd88 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
SVN-Revision: 22204
2010-07-15 13:05:50 +00:00
Gabor Juhos
d4e0b75dda generic: rtl8366: add common rtl8366_sw_get_vlan_info
SVN-Revision: 22203
2010-07-15 13:05:47 +00:00
Gabor Juhos
a59fa57985 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
SVN-Revision: 22202
2010-07-15 13:05:43 +00:00
Gabor Juhos
ce7eca2dff generic: rtl8366: add is_vlan_valid function to smi_ops
SVN-Revision: 22201
2010-07-15 13:05:39 +00:00
Gabor Juhos
dffd45dc61 generic: rtl8366: add common rtl8366_sw_get_port_mib function
SVN-Revision: 22200
2010-07-15 13:05:36 +00:00
Gabor Juhos
0049e74882 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
SVN-Revision: 22199
2010-07-15 13:05:32 +00:00
Gabor Juhos
e110321fce generic: rtl8366: make rtl8366_{g,s}et_pvid static
SVN-Revision: 22198
2010-07-15 13:05:29 +00:00
Gabor Juhos
e561b18521 generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
2010-07-15 13:05:25 +00:00
Gabor Juhos
534480d3fb generic: rtl8366: add setup to rtl8366_smi_ops struct
SVN-Revision: 22196
2010-07-15 13:05:21 +00:00
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
84df6b3728 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>

SVN-Revision: 22190
2010-07-15 07:37:00 +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
3f4e29691e 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>

SVN-Revision: 22188
2010-07-15 07:36:55 +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
Felix Fietkau
ac5279e6bc enable ipv6 support for packages by default
SVN-Revision: 22176
2010-07-13 18:45:29 +00:00
Jo-Philipp Wich
c08ea36e81 broadcom-wl: fix md5sums
SVN-Revision: 22175
2010-07-13 17:21:44 +00:00
Jo-Philipp Wich
abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Jo-Philipp Wich
4ae595a3aa 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
SVN-Revision: 22173
2010-07-13 16:55:57 +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
Gabor Juhos
a06400d432 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>

SVN-Revision: 22169
2010-07-13 16:51:59 +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
Felix Fietkau
d0e2e4f693 mac80211: improve reliability of the keymiss handling fix, add another aggregation leak fix
SVN-Revision: 22152
2010-07-12 19:16:22 +00:00
Daniel Dickinson
b9dfb5d483 block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
SVN-Revision: 22150
2010-07-12 17:28:50 +00:00
Daniel Dickinson
117590a2ce 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.
SVN-Revision: 22148
2010-07-12 16:35:39 +00:00
Daniel Dickinson
b6d521ea33 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.
SVN-Revision: 22147
2010-07-12 16:25:09 +00:00
Nicolas Thill
5cc5f15047 partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
SVN-Revision: 22146
2010-07-12 16:01:13 +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
bbcb9de935 Add package for gpio rotary encoder
SVN-Revision: 22144
2010-07-12 13:20:04 +00:00
Claudio Mignanti
828919b2ba Add package for gpio-pwm
SVN-Revision: 22143
2010-07-12 13:20:01 +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
88eb1b7ad0 kernel: modules names changed with kernel 2.6.35
SVN-Revision: 22139
2010-07-11 19:39:30 +00:00
Hauke Mehrtens
9aa7a94047 broadcom-wl: fix compiling with kernel 2.6.35
SVN-Revision: 22138
2010-07-11 19:33:46 +00:00
Hauke Mehrtens
02a147de0c kernel: fix build problems with recent kernel versions
SVN-Revision: 22137
2010-07-11 19:00:23 +00:00
Hauke Mehrtens
91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00