Gabor Juhos
d4b4c7d102
generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34881
2012-12-25 18:45:31 +00:00
Gabor Juhos
1dc2b6e8fa
ar71xx: ag71xx: show PHY interface mode in dmesg
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos
69da894432
ramips: fix ASUS WL-330N3G MAC address
...
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.
Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.
Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34877
2012-12-24 06:52:41 +00:00
Gabor Juhos
c5a36f13f0
ramips: fix wifi EEPROM extraction on DIR-615-Dx models
...
Patch from #12636 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34876
2012-12-24 06:52:38 +00:00
Jo-Philipp Wich
ab6e2e6928
base-files: ipcalc.sh: fix broken calculations on 64bit systems
...
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.
SVN-Revision: 34875
2012-12-23 22:18:43 +00:00
Imre Kaloz
2c05915b24
add nol2x0 cmdline to disable l2x0 cache
...
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others. This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 34874
2012-12-23 18:53:38 +00:00
Steven Barth
970adc9eb9
ipv6-support: Fix default RA settings for dnsmasq
...
SVN-Revision: 34873
2012-12-23 18:22:48 +00:00
Felix Fietkau
a1e2b2ebe8
busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason ( fixes #12663 )
...
SVN-Revision: 34872
2012-12-23 10:59:57 +00:00
Felix Fietkau
de707ac97e
build: reduce the size of package metadata a bit to keep package list files smaller
...
SVN-Revision: 34871
2012-12-22 19:56:21 +00:00
Felix Fietkau
2b0a5e47dc
tools/ipkg-utils: remove some unnecessary field checks
...
SVN-Revision: 34870
2012-12-22 19:56:17 +00:00
Felix Fietkau
9801f4687f
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
...
SVN-Revision: 34869
2012-12-22 19:31:37 +00:00
Felix Fietkau
dc0faf077c
build: remove the default useless MAINTAINER value
...
SVN-Revision: 34868
2012-12-22 18:56:16 +00:00
Felix Fietkau
7ed89e8542
dropbear: convert init script to procd
...
SVN-Revision: 34867
2012-12-22 18:56:13 +00:00
Felix Fietkau
bbc6694d98
base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
...
SVN-Revision: 34866
2012-12-22 18:56:09 +00:00
Felix Fietkau
6061734323
procd: add initial implementation
...
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.
SVN-Revision: 34865
2012-12-22 18:56:06 +00:00
Felix Fietkau
b0c855253b
libnl-tiny: add includedir to pkg-config cflags
...
SVN-Revision: 34864
2012-12-22 18:56:01 +00:00
Felix Fietkau
82bd58c793
dropbear: use network_get_device instead of scan_interfaces to get the device name
...
SVN-Revision: 34863
2012-12-22 18:55:57 +00:00
Gabor Juhos
c3cb63661f
generic: ar8216: don't use 0 as default VID on AR8327
...
VID0 is reserved for priority-tagged packets.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34862
2012-12-22 18:30:04 +00:00
Gabor Juhos
fa9d06c7f4
generic: more missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34861
2012-12-22 17:22:41 +00:00
Gabor Juhos
8105c6badd
ramips: unify eeprom file name for the built-in wireless MAC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34860
2012-12-22 16:09:03 +00:00
Gabor Juhos
c81b4475c9
ramips: rt3883: fix build error
...
The cpuport_cfg field has been renamed to port0_cfg.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34859
2012-12-22 13:50:47 +00:00
Steven Barth
a4e656ef24
ipv6-support: Preliminary support for dnsmasq >=2.66
...
SVN-Revision: 34858
2012-12-22 13:00:53 +00:00
Steven Barth
2dbfffef68
6relayd: Fix detection of prefix changes
...
SVN-Revision: 34857
2012-12-22 13:00:49 +00:00
Steven Barth
f36c3067c6
odhcp6c: Fix build on arch where char is unsigned
...
SVN-Revision: 34856
2012-12-22 13:00:45 +00:00
Steven Barth
970c5d97fe
6distributed: Improve prefix deprecation algorithm
...
SVN-Revision: 34855
2012-12-22 13:00:40 +00:00
Gabor Juhos
64d31e6c6b
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>
SVN-Revision: 34854
2012-12-22 12:12:50 +00:00
Gabor Juhos
5dec87afef
ar71xx: fix ethernet device registration for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos
84a7051cef
ar71xx: rename QCA9558 ETH_CFG bit defines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34852
2012-12-22 12:12:46 +00:00
Gabor Juhos
4085a5773d
ar71xx: fixup allowed PHY interface types for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos
f01a786825
ar71xx: don't assign any MII bus device on QCA9558 by default
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos
9edcd9d3a3
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>
SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos
ad0f03d250
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>
SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos
3931c9524c
generic: ar8316: allow to configure port 6 via platform data on AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34847
2012-12-22 12:12:37 +00:00
Gabor Juhos
a0b31f97bb
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos
b44cdcde8e
ramips: add support for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34845
2012-12-22 12:11:13 +00:00
Gabor Juhos
fcf65bdee3
package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34844
2012-12-22 12:11:09 +00:00
Gabor Juhos
b81667cb23
ramips: convert to use {e,o}hci-platform driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34843
2012-12-22 12:11:08 +00:00
Gabor Juhos
c0e1a6f342
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>
SVN-Revision: 34842
2012-12-22 12:11:06 +00:00
John Crispin
b21458709a
fix ipv4 nat on 3.7 by adding missing iptables modules
...
SVN-Revision: 34841
2012-12-22 10:17:29 +00:00
John Crispin
efe3225e2b
ar9 did not load atm driver properly
...
SVN-Revision: 34840
2012-12-22 10:16:52 +00:00
John Crispin
379cd6e25e
dont use input layer for gpio buttons
...
SVN-Revision: 34839
2012-12-21 20:04:20 +00:00
John Crispin
90a3761b0b
default switch setup for WBMR
...
SVN-Revision: 34838
2012-12-21 20:04:12 +00:00
John Crispin
ae0b9ff1ce
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>
SVN-Revision: 34837
2012-12-21 20:04:04 +00:00
John Crispin
9818a1f00b
adds script to set wps info on boards with a wps button
...
SVN-Revision: 34836
2012-12-21 20:03:59 +00:00
John Crispin
3134205dfd
minor tweaks to WBMR image
...
SVN-Revision: 34835
2012-12-21 20:03:54 +00:00
John Crispin
6531546751
add OF binding
...
SVN-Revision: 34834
2012-12-21 20:03:49 +00:00
John Crispin
f4b2439554
add missing PHY_BASIC_FEATURES to 100mbit phys
...
SVN-Revision: 34826
2012-12-21 14:41:35 +00:00
John Crispin
861bf6af49
fix typo inside fritz3370 devicetree file
...
SVN-Revision: 34825
2012-12-21 14:41:30 +00:00
John Crispin
54c096527a
more devicetree fixes
...
SVN-Revision: 34824
2012-12-21 13:47:55 +00:00
John Crispin
59cc6d9ddd
improve button handling
...
SVN-Revision: 34823
2012-12-21 13:47:50 +00:00