lede.git
12 years agolinux/3.3: fix compiler warnings in the plat_nand driver
Gabor Juhos [Wed, 25 Apr 2012 12:57:29 +0000 (12:57 +0000)]
linux/3.3: fix compiler warnings in the plat_nand driver

SVN-Revision: 31473

12 years agoadm5120: make 5GXi depends on CPU_LITTLE_ENDIAN
Gabor Juhos [Wed, 25 Apr 2012 12:57:26 +0000 (12:57 +0000)]
adm5120: make 5GXi depends on CPU_LITTLE_ENDIAN

SVN-Revision: 31472

12 years agobrcm47xx: A couple of other (inconsequential) BCMA patches
Hauke Mehrtens [Tue, 24 Apr 2012 21:56:42 +0000 (21:56 +0000)]
brcm47xx: A couple of other (inconsequential) BCMA patches

Noticed these while reviewing the code.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 31471

12 years agobrcm47xx: b44 fix workaround detection on some brcm47xx boards
Hauke Mehrtens [Tue, 24 Apr 2012 20:35:46 +0000 (20:35 +0000)]
brcm47xx: b44 fix workaround detection on some brcm47xx boards

Because of api change of nvram_getenv, the workaround failed to detect the hardware.

Based on patch by b.sander

Fixes #11268.

SVN-Revision: 31470

12 years agore-enable shallow git clones ('--depth 1')
Mirko Vogt [Tue, 24 Apr 2012 18:19:16 +0000 (18:19 +0000)]
re-enable shallow git clones ('--depth 1')

SVN-Revision: 31469

12 years agoinclude revisions of feeds when listing them
Mirko Vogt [Tue, 24 Apr 2012 12:56:18 +0000 (12:56 +0000)]
include revisions of feeds when listing them

SVN-Revision: 31467

12 years agoenable verbose output of kernel build if V=99 is passed
Mirko Vogt [Tue, 24 Apr 2012 12:42:57 +0000 (12:42 +0000)]
enable verbose output of kernel build if V=99 is passed

append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99

SVN-Revision: 31466

12 years agobcm63xx: drop linux 3.2 support
Jonas Gorski [Tue, 24 Apr 2012 11:49:27 +0000 (11:49 +0000)]
bcm63xx: drop linux 3.2 support

SVN-Revision: 31464

12 years agobcm63xx: drop linux 3.0 support
Jonas Gorski [Tue, 24 Apr 2012 11:49:24 +0000 (11:49 +0000)]
bcm63xx: drop linux 3.0 support

SVN-Revision: 31463

12 years agobcm63xx: switch kernel to 3.3
Jonas Gorski [Tue, 24 Apr 2012 11:49:19 +0000 (11:49 +0000)]
bcm63xx: switch kernel to 3.3

SVN-Revision: 31462

12 years agoar71xx: TL-WR741NDv4: add WLAN LED config
Gabor Juhos [Tue, 24 Apr 2012 11:38:44 +0000 (11:38 +0000)]
ar71xx: TL-WR741NDv4: add WLAN LED config

On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 31461

12 years agokernel: update linux 3.3 to 3.3.3
Jonas Gorski [Tue, 24 Apr 2012 09:25:38 +0000 (09:25 +0000)]
kernel: update linux 3.3 to 3.3.3

SVN-Revision: 31460

12 years agokernel: update linux 3.2 to 3.2.16
Jonas Gorski [Tue, 24 Apr 2012 09:25:35 +0000 (09:25 +0000)]
kernel: update linux 3.2 to 3.2.16

SVN-Revision: 31459

12 years agokernel: add some more missing kernel config symbols
Jonas Gorski [Tue, 24 Apr 2012 09:25:32 +0000 (09:25 +0000)]
kernel: add some more missing kernel config symbols

SVN-Revision: 31458

12 years agoremove old acx driver
Florian Fainelli [Tue, 24 Apr 2012 08:05:49 +0000 (08:05 +0000)]
remove old acx driver

SVN-Revision: 31456

12 years agoacx-mac80211: update to 20122204
Florian Fainelli [Tue, 24 Apr 2012 08:05:46 +0000 (08:05 +0000)]
acx-mac80211: update to 20122204

Upstream commit id: 15bbffea

SVN-Revision: 31455

12 years agoenable NF_CONNTRACK_PROCFS for Linux 3.3, required for /proc/net/nf_conntrack (#11339)
Jo-Philipp Wich [Tue, 24 Apr 2012 00:55:57 +0000 (00:55 +0000)]
enable NF_CONNTRACK_PROCFS for Linux 3.3, required for /proc/net/nf_conntrack (#11339)

SVN-Revision: 31454

12 years agomac80211: update AP multicast fix to latest version submitted to linux-wireless@
Felix Fietkau [Mon, 23 Apr 2012 17:29:29 +0000 (17:29 +0000)]
mac80211: update AP multicast fix to latest version submitted to linux-wireless@

SVN-Revision: 31453

12 years agox86: restore config-default, it is needed for 2.6.39
Gabor Juhos [Mon, 23 Apr 2012 16:56:08 +0000 (16:56 +0000)]
x86: restore config-default, it is needed for 2.6.39

Reported-by: Thomas Heil <heil@terminal-consulting.de>
SVN-Revision: 31452

12 years agoramips: rt305x: add support for the UR-336UN board
Gabor Juhos [Mon, 23 Apr 2012 16:56:06 +0000 (16:56 +0000)]
ramips: rt305x: add support for the UR-336UN board

Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31451

12 years agoramips: rt305x: add support for the Asus WL-330N3G board
Gabor Juhos [Mon, 23 Apr 2012 16:56:05 +0000 (16:56 +0000)]
ramips: rt305x: add support for the Asus WL-330N3G board

This patch adds support for the ASUS WL-330N3G

Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.

The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.

r = led is red
b = led is blue
0 = led is off

xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness

initial state action  led gpio state

r0 b0 r0->r1  r   r0 b0
r0 b0 b0->b1   b r0 b1

r1 b0 r1->r0  0 r0 b0
r1 b0 b0->b1  r r1 *b1*

r1 b1 r1->r0   b r0 b1
r1 b1 b1->b0   r r1 b0

r0 b1 r0->r1   r r1 *b1*
r0 b1 b1->b0   0 r0 r0

Signed-off-by: Frédéric Leroy <fredo@starox.org>
SVN-Revision: 31450

12 years agoensure that profile Makefiles are sourced in alphabetical order Since make 3.82 does...
Jo-Philipp Wich [Mon, 23 Apr 2012 16:10:25 +0000 (16:10 +0000)]
ensure that profile Makefiles are sourced in alphabetical order Since make 3.82 does not guarantee file ordering anymore, target profiles might get included in random order, leading to bad default values when only selecting the toplevel target and populating the .config with defconfig. This commit should also fix the ar71xx snapshot builds.

SVN-Revision: 31449

12 years agoswitch to 3.3
Florian Fainelli [Mon, 23 Apr 2012 12:33:30 +0000 (12:33 +0000)]
switch to 3.3

SVN-Revision: 31448

12 years agoadd support for 3.3
Florian Fainelli [Mon, 23 Apr 2012 12:33:27 +0000 (12:33 +0000)]
add support for 3.3

SVN-Revision: 31447

12 years agoswitch to 3.3.2
Florian Fainelli [Mon, 23 Apr 2012 12:33:24 +0000 (12:33 +0000)]
switch to 3.3.2

SVN-Revision: 31446

12 years agoadd 3.3 support
Florian Fainelli [Mon, 23 Apr 2012 12:33:19 +0000 (12:33 +0000)]
add 3.3 support

SVN-Revision: 31445

12 years ago6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)
Jo-Philipp Wich [Mon, 23 Apr 2012 10:12:00 +0000 (10:12 +0000)]
6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)

SVN-Revision: 31444

12 years agoAdding wifi eeprom extract for ARV752DPW - Easybox 802
John Crispin [Mon, 23 Apr 2012 09:40:37 +0000 (09:40 +0000)]
Adding wifi eeprom extract for ARV752DPW - Easybox 802

Signed-off-by: Christian Rustmeier <rustmeier a.t. gmail dotty com>
SVN-Revision: 31443

12 years agoscanning kernel packages for targets
John Crispin [Mon, 23 Apr 2012 09:37:50 +0000 (09:37 +0000)]
scanning kernel packages for targets

Any modifications in target/linux/*/modules.mk would not come into effect for
subsequent "make menuconfig" unless we delete ./tmp.

Signed-off-by: kalyan <kalyanatejaswi@gmail.com>
SVN-Revision: 31442

12 years agoar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
Felix Fietkau [Sun, 22 Apr 2012 19:19:49 +0000 (19:19 +0000)]
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)

SVN-Revision: 31441

12 years agoflexibity: Cleanup the subtarget config
Claudio Mignanti [Sun, 22 Apr 2012 16:56:10 +0000 (16:56 +0000)]
flexibity: Cleanup the subtarget config

SVN-Revision: 31440

12 years agoRevert "mac80211: add backport of the module_pci_driver macro"
Gabor Juhos [Sun, 22 Apr 2012 11:39:49 +0000 (11:39 +0000)]
Revert "mac80211: add backport of the module_pci_driver macro"

Erm, Hauke was faster.

SVN-Revision: 31439

12 years agomac80211: add backport of the module_pci_driver macro
Gabor Juhos [Sun, 22 Apr 2012 11:37:22 +0000 (11:37 +0000)]
mac80211: add backport of the module_pci_driver macro

That is required by various PCI drivers.

SVN-Revision: 31438

12 years agomac80211: add module_pci_driver to compat
Hauke Mehrtens [Sun, 22 Apr 2012 11:36:35 +0000 (11:36 +0000)]
mac80211: add module_pci_driver to compat

Without module_pci_driver being defined the pci drivers do not get registered.

Should fix #11332

SVN-Revision: 31437

12 years agotqma9263: update board definition for 3.x series and fix config choose
Claudio Mignanti [Sun, 22 Apr 2012 09:09:53 +0000 (09:09 +0000)]
tqma9263: update board definition for 3.x series and fix config choose

SVN-Revision: 31436

12 years agoRemove old netus board definition
Claudio Mignanti [Sun, 22 Apr 2012 09:09:50 +0000 (09:09 +0000)]
Remove old netus board definition

SVN-Revision: 31435

12 years agoep93xx: remove 2.6.39 support
Gabor Juhos [Sun, 22 Apr 2012 07:20:55 +0000 (07:20 +0000)]
ep93xx: remove 2.6.39 support

SVN-Revision: 31434

12 years agoamazon: remove 2.6.3{0,2} support
Gabor Juhos [Sun, 22 Apr 2012 07:20:53 +0000 (07:20 +0000)]
amazon: remove 2.6.3{0,2} support

SVN-Revision: 31433

12 years agonetifd: improve error handling in legacy script compatibility library, do not fill...
Felix Fietkau [Sat, 21 Apr 2012 20:34:48 +0000 (20:34 +0000)]
netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found

SVN-Revision: 31432

12 years agobase-files: rename internal variables in config_foreach to make namespace conflicts...
Felix Fietkau [Sat, 21 Apr 2012 20:34:45 +0000 (20:34 +0000)]
base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely

SVN-Revision: 31431

12 years agonetifd: make type a local variable in /lib/network/config.sh to avoid clashes with...
Felix Fietkau [Sat, 21 Apr 2012 20:34:41 +0000 (20:34 +0000)]
netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable

SVN-Revision: 31430

12 years agomac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations
Felix Fietkau [Sat, 21 Apr 2012 20:34:38 +0000 (20:34 +0000)]
mac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations

SVN-Revision: 31429

12 years agoath9k: merge a tkip related stability fix
Felix Fietkau [Sat, 21 Apr 2012 20:34:33 +0000 (20:34 +0000)]
ath9k: merge a tkip related stability fix

SVN-Revision: 31428

12 years agominor change: adjust formatting of firewall.config
Mirko Vogt [Sat, 21 Apr 2012 19:42:28 +0000 (19:42 +0000)]
minor change: adjust formatting of firewall.config

 - remove trailing whitespaces (s/\ $//g)
 - replace spaces with tabs between options and values

SVN-Revision: 31427

12 years agoomap24xx: remove 2.6.38 support
Gabor Juhos [Sat, 21 Apr 2012 17:16:40 +0000 (17:16 +0000)]
omap24xx: remove 2.6.38 support

SVN-Revision: 31426

12 years agoxburst: remove 2.6.36 support
Gabor Juhos [Sat, 21 Apr 2012 17:03:10 +0000 (17:03 +0000)]
xburst: remove 2.6.36 support

SVN-Revision: 31422

12 years agomalta: remove 2.6.39 and 3.0 support
Gabor Juhos [Sat, 21 Apr 2012 16:56:15 +0000 (16:56 +0000)]
malta: remove 2.6.39 and 3.0 support

SVN-Revision: 31421

12 years agompc83xx: remove 2.6.32 support
Gabor Juhos [Sat, 21 Apr 2012 16:51:59 +0000 (16:51 +0000)]
mpc83xx: remove 2.6.32 support

SVN-Revision: 31420

12 years agoocteon: remove 2.6.30 support
Gabor Juhos [Sat, 21 Apr 2012 16:45:32 +0000 (16:45 +0000)]
octeon: remove 2.6.30 support

SVN-Revision: 31419

12 years agocns3xxx: remove 2.6.31 support
Gabor Juhos [Sat, 21 Apr 2012 16:42:05 +0000 (16:42 +0000)]
cns3xxx: remove 2.6.31 support

SVN-Revision: 31418

12 years agoau1000: remove 2.6.39 support
Gabor Juhos [Sat, 21 Apr 2012 16:30:40 +0000 (16:30 +0000)]
au1000: remove 2.6.39 support

SVN-Revision: 31416

12 years agox86: remove 2.6.32 support
Gabor Juhos [Sat, 21 Apr 2012 16:17:48 +0000 (16:17 +0000)]
x86: remove 2.6.32 support

SVN-Revision: 31415

12 years agoixp4xx: remove 2.6.3{2,8} and 3.0 support
Gabor Juhos [Sat, 21 Apr 2012 16:17:46 +0000 (16:17 +0000)]
ixp4xx: remove 2.6.3{2,8} and 3.0 support

SVN-Revision: 31414

12 years agotools: add xz dependency to automake
Gabor Juhos [Sat, 21 Apr 2012 16:09:04 +0000 (16:09 +0000)]
tools: add xz dependency to automake

SVN-Revision: 31413

12 years agolinux/2.6.31: R.I.P.
Gabor Juhos [Sat, 21 Apr 2012 15:18:58 +0000 (15:18 +0000)]
linux/2.6.31: R.I.P.

SVN-Revision: 31412

12 years agolinux/2.6.30: R.I.P.
Gabor Juhos [Sat, 21 Apr 2012 15:18:55 +0000 (15:18 +0000)]
linux/2.6.30: R.I.P.

SVN-Revision: 31411

12 years agolinux: add broken flag to targets which are using 2.6.30
Gabor Juhos [Sat, 21 Apr 2012 15:18:54 +0000 (15:18 +0000)]
linux: add broken flag to targets which are using 2.6.30

SVN-Revision: 31410

12 years agolinux/3.3: nuke the gpio_buttons patch
Gabor Juhos [Sat, 21 Apr 2012 14:26:35 +0000 (14:26 +0000)]
linux/3.3: nuke the gpio_buttons patch

It is superseded by the in-kernel gpio-keys-polled driver.

SVN-Revision: 31409

12 years agompc52xx: nuke 3.2 config
Gabor Juhos [Sat, 21 Apr 2012 12:36:47 +0000 (12:36 +0000)]
mpc52xx: nuke 3.2 config

SVN-Revision: 31408

12 years agompc52xx: switch to 3.3.2
Gabor Juhos [Sat, 21 Apr 2012 12:36:45 +0000 (12:36 +0000)]
mpc52xx: switch to 3.3.2

SVN-Revision: 31407

12 years agompc52xx: add kernel config for 3.3
Gabor Juhos [Sat, 21 Apr 2012 12:36:44 +0000 (12:36 +0000)]
mpc52xx: add kernel config for 3.3

SVN-Revision: 31406

12 years agoramips: nuke 3.2 suport
Gabor Juhos [Sat, 21 Apr 2012 12:30:53 +0000 (12:30 +0000)]
ramips: nuke 3.2 suport

SVN-Revision: 31405

12 years agoramips: switch to 3.3.2
Gabor Juhos [Sat, 21 Apr 2012 12:30:51 +0000 (12:30 +0000)]
ramips: switch to 3.3.2

SVN-Revision: 31404

12 years agoramips: add support for 3.3
Gabor Juhos [Sat, 21 Apr 2012 12:30:50 +0000 (12:30 +0000)]
ramips: add support for 3.3

SVN-Revision: 31403

12 years agoramips: rt305x: add OHCI/EHCI registration code for RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:48 +0000 (12:30 +0000)]
ramips: rt305x: add OHCI/EHCI registration code for RT3352

SVN-Revision: 31402

12 years agoramips: rt305x: fix CPU clock detection on RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:47 +0000 (12:30 +0000)]
ramips: rt305x: fix CPU clock detection on RT3352

SVN-Revision: 31401

12 years agoramips: rt305x: use different memory size setup for RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:45 +0000 (12:30 +0000)]
ramips: rt305x: use different memory size setup for RT3352

SVN-Revision: 31400

12 years agoramips: rt3883: add profile and build sysupgrade image for the RT-N56U
Gabor Juhos [Sat, 21 Apr 2012 12:30:44 +0000 (12:30 +0000)]
ramips: rt3883: add profile and build sysupgrade image for the RT-N56U

SVN-Revision: 31399

12 years agoramips: add swconfig to the default package list
Gabor Juhos [Sat, 21 Apr 2012 12:30:43 +0000 (12:30 +0000)]
ramips: add swconfig to the default package list

SVN-Revision: 31398

12 years agoramips: build initramfs image for the Fonera 2.0N
Gabor Juhos [Sat, 21 Apr 2012 12:30:42 +0000 (12:30 +0000)]
ramips: build initramfs image for the Fonera 2.0N

SVN-Revision: 31397

12 years agoramips: rt305x: add initial support for Tenda W306R V2.0
Gabor Juhos [Sat, 21 Apr 2012 12:30:40 +0000 (12:30 +0000)]
ramips: rt305x: add initial support for Tenda W306R V2.0

More device info at: http://wiki.openwrt.org/toh/tenda/w306r

Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]

SVN-Revision: 31396

12 years agoramips: remove hardcoded console parameter from kernel configs
Gabor Juhos [Sat, 21 Apr 2012 12:30:30 +0000 (12:30 +0000)]
ramips: remove hardcoded console parameter from kernel configs

SVN-Revision: 31395

12 years agolinux/3.3: fix crypto4xx build failure
Gabor Juhos [Sat, 21 Apr 2012 10:47:04 +0000 (10:47 +0000)]
linux/3.3: fix crypto4xx build failure

SVN-Revision: 31394

12 years agoremove screwed up patch for gcc 4.7-linaro which got committed by accident
Mirko Vogt [Sat, 21 Apr 2012 10:23:49 +0000 (10:23 +0000)]
remove screwed up patch for gcc 4.7-linaro which got committed by accident

SVN-Revision: 31393

12 years agoadd support for GCC 4.7-linaro (based on GCC 4.7.1)
Mirko Vogt [Sat, 21 Apr 2012 09:58:31 +0000 (09:58 +0000)]
add support for GCC 4.7-linaro (based on GCC 4.7.1)

SVN-Revision: 31392

12 years agochange /etc/config/network according to actual VLAN config to enable LAN port 4 on...
Mirko Vogt [Sat, 21 Apr 2012 08:07:21 +0000 (08:07 +0000)]
change /etc/config/network according to actual VLAN config to enable LAN port 4 on the ARV4520PW board

The VLAN mapping on the ARV4520PW board is the following:

port on Router: | VLAN in software:
LAN 1           | 3
LAN 2           | 2
LAN 3           | 1
LAN 4           | 0
DSL             | 4

So LAN4 is not VLAN4 but VLAN0 (VLAN4 is DSL port) -> set "3 2 1 0 5t" as default switch config.

SVN-Revision: 31391

12 years agogcc: add patch to make the getenv() spec function nonfatal if requested environment...
Jo-Philipp Wich [Sat, 21 Apr 2012 03:02:39 +0000 (03:02 +0000)]
gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset

SVN-Revision: 31390

12 years agoppc40x: nuke 3.2 support
Gabor Juhos [Fri, 20 Apr 2012 21:03:15 +0000 (21:03 +0000)]
ppc40x: nuke 3.2 support

SVN-Revision: 31387

12 years agoppc40x: switch to 3.3.2
Gabor Juhos [Fri, 20 Apr 2012 21:03:14 +0000 (21:03 +0000)]
ppc40x: switch to 3.3.2

SVN-Revision: 31386

12 years agoppc40x: sync 3.3 config
Gabor Juhos [Fri, 20 Apr 2012 21:03:12 +0000 (21:03 +0000)]
ppc40x: sync 3.3 config

SVN-Revision: 31385

12 years agoar71xx: remove duplicated AP121 Kconfig entry
Gabor Juhos [Fri, 20 Apr 2012 16:50:16 +0000 (16:50 +0000)]
ar71xx: remove duplicated AP121 Kconfig entry

SVN-Revision: 31382

12 years agocns21xx: remove 3.2 support
Gabor Juhos [Fri, 20 Apr 2012 15:25:00 +0000 (15:25 +0000)]
cns21xx: remove 3.2 support

SVN-Revision: 31381

12 years agocns21xx: switch to 3.3.2
Gabor Juhos [Fri, 20 Apr 2012 15:24:59 +0000 (15:24 +0000)]
cns21xx: switch to 3.3.2

SVN-Revision: 31380

12 years agocns21xx: add support for 3.3
Gabor Juhos [Fri, 20 Apr 2012 15:24:57 +0000 (15:24 +0000)]
cns21xx: add support for 3.3

SVN-Revision: 31379

12 years agolinux/3.3: update ARM mach-types
Gabor Juhos [Fri, 20 Apr 2012 15:24:54 +0000 (15:24 +0000)]
linux/3.3: update ARM mach-types

SVN-Revision: 31378

12 years agoe2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz...
Jo-Philipp Wich [Fri, 20 Apr 2012 15:18:17 +0000 (15:18 +0000)]
e2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com>

SVN-Revision: 31377

12 years agoenable ntpd server for busybox
Jo-Philipp Wich [Fri, 20 Apr 2012 15:05:38 +0000 (15:05 +0000)]
enable ntpd server for busybox

hi

Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file
You can patch trunk and bacfire (tested both)
You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1,  ntpd will answer with the time of the router)

I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Le 27/03/2012 20:41, Etienne Champetier a écrit :
> I've now tested my trunk patch and it works fine
> But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???)
> (I've made some grep and nothing)
>
> Le 23/03/2012 02:19, Philip Prindeville a écrit :
>> Maybe:
>>
>> [ -n "$PROG" -a -x "$PROG" ] || return 1
>>
>> instead?
>>
>>
>> On 3/22/12 4:34 PM, Etienne Champetier wrote:
>>> Hi
>>>
>>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default.
>>> We only need 1 client/server daemon (olipro patch was launching 2 daemons)
>>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!)
>>>
>>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
>>>
>>>
>>> Le 16/01/2012 01:57, Philip Prindeville a écrit :
>>>> On 1/14/12 11:37 AM, Olipro wrote:
>>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote:
>>>>>> Don't we already have a 'disabled' option?  Now we're adding an
>>>>>> 'enable_server' option?
>>>>>>
>>>>>> That seems confusing for no useful reason.
>>>>>>
>>>>> have you bothered to read what I originally wrote? your response would make
>>>>> me inclined to believe that you didn't.
>>>>>
>>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables
>>>>> you to have one instance running as a client and another as a SERVER that
>>>>> other hosts can synchronise with.
>>>>>
>>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the
>>>>> built-in busybox ntpd to be utilised as a server? a separate init script
>>>>> entirely perhaps?
>>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'.
>>>>
>>>> -Philip
>>>>
>>>>
>>>> _______________________________________________
>>>> openwrt-devel mailing list
>>>> openwrt-devel@lists.openwrt.org
>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

SVN-Revision: 31374

12 years agoAdd a missing symbol for config-3.3
Claudio Mignanti [Fri, 20 Apr 2012 13:33:04 +0000 (13:33 +0000)]
Add a missing symbol for config-3.3

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31373

12 years agoReorganize the subtargets, group subtargets per cpu family
Claudio Mignanti [Fri, 20 Apr 2012 13:33:01 +0000 (13:33 +0000)]
Reorganize the subtargets, group subtargets per cpu family

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31372

12 years agoUpdate the kernel to 3.3.x series, remove patches that doesn't apply anymore
Claudio Mignanti [Fri, 20 Apr 2012 13:32:55 +0000 (13:32 +0000)]
Update the kernel to 3.3.x series, remove patches that doesn't apply anymore

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31371

12 years agoEnsure that the bin directory exists before copy the files
Claudio Mignanti [Fri, 20 Apr 2012 13:27:16 +0000 (13:27 +0000)]
Ensure that the bin directory exists before copy the files

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31370

12 years agoremove some annoying warnings and fix snd modules build
Florian Fainelli [Fri, 20 Apr 2012 13:25:26 +0000 (13:25 +0000)]
remove some annoying warnings and fix snd modules build

SVN-Revision: 31365

12 years agoadd missing config symbol
Florian Fainelli [Fri, 20 Apr 2012 13:25:23 +0000 (13:25 +0000)]
add missing config symbol

SVN-Revision: 31364

12 years agogpio-button-hotplug: don't build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:20 +0000 (13:25 +0000)]
gpio-button-hotplug: don't build on 2.6.30

SVN-Revision: 31363

12 years agobutton-hotplug: prevent build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:17 +0000 (13:25 +0000)]
button-hotplug: prevent build on 2.6.30

SVN-Revision: 31362

12 years agoxfsprogs: disable po files building
Florian Fainelli [Fri, 20 Apr 2012 13:25:08 +0000 (13:25 +0000)]
xfsprogs: disable po files building

SVN-Revision: 31361

12 years agoar71xx: nuke 3.2 support
Gabor Juhos [Thu, 19 Apr 2012 21:32:05 +0000 (21:32 +0000)]
ar71xx: nuke 3.2 support

SVN-Revision: 31360

12 years agoar71xx: switch to 3.3.2
Gabor Juhos [Thu, 19 Apr 2012 21:31:58 +0000 (21:31 +0000)]
ar71xx: switch to 3.3.2

SVN-Revision: 31359

12 years agoar71xx: sync 3.3 config
Gabor Juhos [Thu, 19 Apr 2012 21:31:53 +0000 (21:31 +0000)]
ar71xx: sync 3.3 config

SVN-Revision: 31358

12 years agoar71xx: merge/reorganize 3.3 patches
Gabor Juhos [Thu, 19 Apr 2012 21:31:50 +0000 (21:31 +0000)]
ar71xx: merge/reorganize 3.3 patches

SVN-Revision: 31357