Gabor Juhos
40c3a23321
generic: more missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 17:22:41 +00:00
Gabor Juhos
aaeed76ded
ramips: unify eeprom file name for the built-in wireless MAC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 16:09:03 +00:00
Gabor Juhos
5c49a64960
ramips: rt3883: fix build error
...
The cpuport_cfg field has been renamed to port0_cfg.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:50:47 +00:00
Steven Barth
0e4a0f7b38
ipv6-support: Preliminary support for dnsmasq >=2.66
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:53 +00:00
Steven Barth
70a28cb7bb
6relayd: Fix detection of prefix changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:49 +00:00
Steven Barth
c350703d01
odhcp6c: Fix build on arch where char is unsigned
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:45 +00:00
Steven Barth
497a2434ad
6distributed: Improve prefix deprecation algorithm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:40 +00:00
Gabor Juhos
378c626d62
ar71xx: register the second ethernet interface on the AP136
...
Also fix the default network configuration
according to the new setup.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:50 +00:00
Gabor Juhos
6010f1b825
ar71xx: fix ethernet device registration for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:48 +00:00
Gabor Juhos
989e3c0e17
ar71xx: rename QCA9558 ETH_CFG bit defines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:46 +00:00
Gabor Juhos
4f5e30c1b8
ar71xx: fixup allowed PHY interface types for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:44 +00:00
Gabor Juhos
c301f74b61
ar71xx: don't assign any MII bus device on QCA9558 by default
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:43 +00:00
Gabor Juhos
7b0651b99b
ar71xx: ag71xx: fix mii_bus_dev sanity check
...
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:41 +00:00
Gabor Juhos
2b21ed9dd7
ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
...
Trying to do that causes a NULL pointer dereference:
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1 ]:
Cpu 0
$ 0 : 00000000 00000000 00000000 00000001
$ 4 : 00000000 802e6390 ffff8f45 00000001
$ 8 : 804b5360 ffffff80 802f93bc 00000000
$12 : 802f93e8 00000000 00000000 00000000
$16 : 8381aba0 8381aba0 00000000 00000000
$20 : 8295eff0 00000032 80000000 004101b8
$24 : 00000000 777265b0
$28 : 82936000 82937cf0 00420000 801d18d4
Hi : 00000000
Lo : 00000001
epc : 801d170c ar7240sw_reset+0x1c/0x19c
Tainted: G O
ra : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03 KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024 afb40020 afb10014 <8c910000> 00809021 24100104 24130704 8e440000 02002821
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:40 +00:00
Gabor Juhos
911703d3d7
generic: ar8316: allow to configure port 6 via platform data on AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:37 +00:00
Gabor Juhos
50709b5321
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:35 +00:00
Gabor Juhos
d81e6f3d37
ramips: add support for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:13 +00:00
Gabor Juhos
7fe8ed80bf
package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:09 +00:00
Gabor Juhos
2463d0f9f9
ramips: convert to use {e,o}hci-platform driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:08 +00:00
Gabor Juhos
273d590697
generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
...
Backport of upstream commits:
86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:06 +00:00
John Crispin
78b7242642
[netfilter] fix ipv4 nat on 3.7 by adding missing iptables modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:17:29 +00:00
John Crispin
6ee5434d24
[lantiq] ar9 did not load atm driver properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:16:52 +00:00
John Crispin
a52f5c57e3
[lantiq] dont use input layer for gpio buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:20 +00:00
John Crispin
5a6b12149a
[lantiq] default switch setup for WBMR
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:12 +00:00
John Crispin
c2951f7a26
[lantiq] Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143 )
...
Tested only on the wbmr-hp-g300h, could affect/break other devices.
Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:04 +00:00
John Crispin
6a50405768
[lantiq] adds script to set wps info on boards with a wps button
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:59 +00:00
John Crispin
9e6f0ec839
[lantiq] minor tweaks to WBMR image
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:54 +00:00
John Crispin
d417c0b4fe
[gpio-button-hotplug] add OF binding
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:49 +00:00
John Crispin
99a3a72f11
[lantiq] add missing PHY_BASIC_FEATURES to 100mbit phys
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:35 +00:00
John Crispin
f0eac14112
[lantiq] fix typo inside fritz3370 devicetree file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:30 +00:00
John Crispin
e975fbe3fb
[lantiq] more devicetree fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:55 +00:00
John Crispin
3973731301
[lantiq] improve button handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:50 +00:00
John Crispin
2a00066a53
[lantiq] add phy-reset gpio handling to xrx200-net
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:44 +00:00
John Crispin
270bb4fee4
[lantiq] add more lantiq phy ids based on daniels uboot code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:40 +00:00
John Crispin
f4d889b9be
[lantiq] refresh patch and install v1.1 gphy blobs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:35 +00:00
John Crispin
211751d6f9
[lantiq] adsl firmware in wrong submenu
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:30 +00:00
John Crispin
3ac632e1dd
[lantiq] minor cleanup for adsl firmware handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:25 +00:00
John Crispin
a07a9a8200
[lantiq] properly symlink the adsl firmware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:20 +00:00
John Crispin
29d0dc4ad3
[kernel] make to rtl8366_smi of binding use gpio_is_valid
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:14 +00:00
Mirko Vogt
1a59d79237
[package/base-files] hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
...
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.
This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 12:10:21 +00:00
Gabor Juhos
27d7cb3077
kernel: add solos-pci update for 3.3
...
Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.
Submitted more for the benefit of the AA branch than for trunk.
[juhosg: refresh the patch with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 10:38:33 +00:00
Gabor Juhos
826a0dfa53
rb532: add support for 3.7
...
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:25:43 +00:00
Gabor Juhos
53d06e738b
ramips: Add USB support for DAP-1350 platform.
...
It seems to work as intended, but only lightly tested.
Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:17:17 +00:00
Gabor Juhos
f82765d86f
rb532: nuke 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:03 +00:00
Gabor Juhos
9a1fec6f0b
rb532: switch to 3.6.11
...
Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:01 +00:00
Gabor Juhos
85ab86e148
rb532: add support for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:00 +00:00
Gabor Juhos
35eea507c9
ppc44x: add support for 3.7
...
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 18:11:22 +00:00
Gabor Juhos
d2984aef0d
kernel: add solos-pci patches from 3.8 for new hardware
...
[juhosg: refresh patches with quilt, skip the patch for 3.3]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:57 +00:00
Gabor Juhos
3d45fbcfe4
linux: add missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:56 +00:00
Felix Fietkau
5e0b3ba08e
kernel: fix module packages postinst by pointing to the new functions.sh location
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 15:29:37 +00:00