openwrt/staging/ldir.git
13 years agouci: update to latest git rev 7289b2d69aaffa9299b47aaaa0da1e9969ace6c1
Jo-Philipp Wich [Mon, 14 Nov 2011 13:18:09 +0000 (13:18 +0000)]
uci: update to latest git rev 7289b2d69aaffa9299b47aaaa0da1e9969ace6c1

SVN-Revision: 29111

13 years agoar71xx: fix a compiler warning
Gabor Juhos [Mon, 14 Nov 2011 13:07:47 +0000 (13:07 +0000)]
ar71xx: fix a compiler warning

SVN-Revision: 29110

13 years agoar71xx: fix GPIO count for AR934x
Gabor Juhos [Mon, 14 Nov 2011 13:07:45 +0000 (13:07 +0000)]
ar71xx: fix GPIO count for AR934x

SVN-Revision: 29109

13 years agoar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
Gabor Juhos [Mon, 14 Nov 2011 11:49:53 +0000 (11:49 +0000)]
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X

SVN-Revision: 29108

13 years agoar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
Gabor Juhos [Mon, 14 Nov 2011 11:49:51 +0000 (11:49 +0000)]
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling

SVN-Revision: 29107

13 years agoar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
Gabor Juhos [Mon, 14 Nov 2011 11:49:49 +0000 (11:49 +0000)]
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines

SVN-Revision: 29106

13 years agoar71xx: add an irq parameter for ar724x_pcibios_init
Gabor Juhos [Mon, 14 Nov 2011 11:49:47 +0000 (11:49 +0000)]
ar71xx: add an irq parameter for ar724x_pcibios_init

SVN-Revision: 29105

13 years agoar71xx: remove hardwired interface parameters from mach-* files
Gabor Juhos [Mon, 14 Nov 2011 07:38:09 +0000 (07:38 +0000)]
ar71xx: remove hardwired interface parameters from mach-* files

SVN-Revision: 29103

13 years agoar71xx: force hardwired interface parameters in ar71xx_add_device_eth
Gabor Juhos [Mon, 14 Nov 2011 07:38:07 +0000 (07:38 +0000)]
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth

SVN-Revision: 29102

13 years agoar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
Gabor Juhos [Mon, 14 Nov 2011 07:38:05 +0000 (07:38 +0000)]
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth

SVN-Revision: 29101

13 years agobuild images for Pirelli A226M (#10409)
Florian Fainelli [Sun, 13 Nov 2011 19:19:22 +0000 (19:19 +0000)]
build images for Pirelli A226M (#10409)

SVN-Revision: 29045

13 years agoregister uart0 on DWV-S0 boards (#10409)
Florian Fainelli [Sun, 13 Nov 2011 19:19:18 +0000 (19:19 +0000)]
register uart0 on DWV-S0 boards (#10409)

SVN-Revision: 29044

13 years agorefresh 3.0 patches
Florian Fainelli [Sun, 13 Nov 2011 19:19:14 +0000 (19:19 +0000)]
refresh 3.0 patches

SVN-Revision: 29043

13 years agorefresh 2.6.39 patches
Florian Fainelli [Sun, 13 Nov 2011 19:19:10 +0000 (19:19 +0000)]
refresh 2.6.39 patches

SVN-Revision: 29042

13 years agorename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
Florian Fainelli [Sun, 13 Nov 2011 19:19:05 +0000 (19:19 +0000)]
rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch

SVN-Revision: 29041

13 years agofix typo, load ip17xx switch module
Florian Fainelli [Sun, 13 Nov 2011 18:41:26 +0000 (18:41 +0000)]
fix typo, load ip17xx switch module

SVN-Revision: 29039

13 years agoar71xx: enable has_gbit flag on AR724{0,1}
Gabor Juhos [Sun, 13 Nov 2011 17:36:36 +0000 (17:36 +0000)]
ar71xx: enable has_gbit flag on AR724{0,1}

SVN-Revision: 29026

13 years agoar71xx: fixup onboard PCIe chip registration on the DB120 board
Gabor Juhos [Sun, 13 Nov 2011 12:48:03 +0000 (12:48 +0000)]
ar71xx: fixup onboard PCIe chip registration on the DB120 board

SVN-Revision: 29022

13 years agoar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
Gabor Juhos [Sun, 13 Nov 2011 12:48:01 +0000 (12:48 +0000)]
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed

SVN-Revision: 29021

13 years agomadwifi: rename patch from ifxmips -> lantiq
John Crispin [Sun, 13 Nov 2011 12:10:52 +0000 (12:10 +0000)]
madwifi: rename patch from ifxmips -> lantiq

SVN-Revision: 29020

13 years agouboot-lantiq: not all configs were using lzma for compression, add gigaset ramboot...
John Crispin [Sun, 13 Nov 2011 12:09:34 +0000 (12:09 +0000)]
uboot-lantiq: not all configs were using lzma for compression, add gigaset ramboot image

Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 29019

13 years agoinclude/kernel.mk: don't check for modules.builtin on 2.6.32-
Jonas Gorski [Sun, 13 Nov 2011 11:45:09 +0000 (11:45 +0000)]
include/kernel.mk: don't check for modules.builtin on 2.6.32-

modules.builtin is only available in 2.6.33 and later, so fall back to
assuming it's built-in for older kernels.

SVN-Revision: 29018

13 years agoar71xx: ag71xx: add support for getting switch port link status
Gabor Juhos [Sun, 13 Nov 2011 11:27:04 +0000 (11:27 +0000)]
ar71xx: ag71xx: add support for getting switch port link status

SVN-Revision: 29017

13 years agoar71xx: remove mii_ctrl resources of the ethernet devices
Gabor Juhos [Sun, 13 Nov 2011 11:27:03 +0000 (11:27 +0000)]
ar71xx: remove mii_ctrl resources of the ethernet devices

SVN-Revision: 29016

13 years agoar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
Gabor Juhos [Sun, 13 Nov 2011 11:27:01 +0000 (11:27 +0000)]
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx

SVN-Revision: 29015

13 years agoar71xx: ag71xx: remove unused mii_cfg related functions and defines
Gabor Juhos [Sun, 13 Nov 2011 11:27:00 +0000 (11:27 +0000)]
ar71xx: ag71xx: remove unused mii_cfg related functions and defines

SVN-Revision: 29014

13 years agoar71xx: set MII interface speed from the set_speed callbacks
Gabor Juhos [Sun, 13 Nov 2011 11:26:59 +0000 (11:26 +0000)]
ar71xx: set MII interface speed from the set_speed callbacks

SVN-Revision: 29013

13 years agoar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Gabor Juhos [Sun, 13 Nov 2011 11:26:57 +0000 (11:26 +0000)]
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data

Also rename the corresponding callback functions.

SVN-Revision: 29012

13 years agoar71xx: ag71xx: remove MII interface setup code
Gabor Juhos [Sun, 13 Nov 2011 11:26:56 +0000 (11:26 +0000)]
ar71xx: ag71xx: remove MII interface setup code

SVN-Revision: 29011

13 years agoar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
Gabor Juhos [Sun, 13 Nov 2011 11:26:54 +0000 (11:26 +0000)]
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode

SVN-Revision: 29010

13 years agoar71xx: fix occasional kernel hangs during boot on AR934x
Gabor Juhos [Sun, 13 Nov 2011 11:26:52 +0000 (11:26 +0000)]
ar71xx: fix occasional kernel hangs during boot on AR934x

The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009

13 years agoar71xx: refresh kernel patches
Gabor Juhos [Sun, 13 Nov 2011 11:26:51 +0000 (11:26 +0000)]
ar71xx: refresh kernel patches

SVN-Revision: 29008

13 years agolinux: update 3.1 to 3.1.1
Jonas Gorski [Sun, 13 Nov 2011 10:48:05 +0000 (10:48 +0000)]
linux: update 3.1 to 3.1.1

SVN-Revision: 29007

13 years agolantiq: add uci-defaults code for handling leds
John Crispin [Sat, 12 Nov 2011 23:40:21 +0000 (23:40 +0000)]
lantiq: add uci-defaults code for handling leds

SVN-Revision: 29004

13 years agolantiq: add /lib/lantiq.sh and make hotplug handlers use it
John Crispin [Sat, 12 Nov 2011 23:40:16 +0000 (23:40 +0000)]
lantiq: add /lib/lantiq.sh and make hotplug handlers use it

SVN-Revision: 29003

13 years agolantiq: rename leds
John Crispin [Sat, 12 Nov 2011 23:40:12 +0000 (23:40 +0000)]
lantiq: rename leds

SVN-Revision: 29002

13 years agolantiq: split compat headers out of bsp header patch
John Crispin [Sat, 12 Nov 2011 23:40:07 +0000 (23:40 +0000)]
lantiq: split compat headers out of bsp header patch

SVN-Revision: 29001

13 years agolantiq: adds hotplug handler for loading rt2x00 firmware
John Crispin [Sat, 12 Nov 2011 23:40:01 +0000 (23:40 +0000)]
lantiq: adds hotplug handler for loading rt2x00 firmware

SVN-Revision: 29000

13 years agolantiq: adds hotplug handler for handling buttons and makes w303v work with it
John Crispin [Sat, 12 Nov 2011 23:39:56 +0000 (23:39 +0000)]
lantiq: adds hotplug handler for handling buttons and makes w303v work with it

SVN-Revision: 28999

13 years agolantiq: cleanup default package selection
John Crispin [Sat, 12 Nov 2011 23:39:51 +0000 (23:39 +0000)]
lantiq: cleanup default package selection

SVN-Revision: 28998

13 years agolantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
John Crispin [Sat, 12 Nov 2011 18:41:15 +0000 (18:41 +0000)]
lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it

SVN-Revision: 28994

13 years agokernel: ar8216: add support for the AR8236 switch
Gabor Juhos [Sat, 12 Nov 2011 14:09:52 +0000 (14:09 +0000)]
kernel: ar8216: add support for the AR8236 switch

SVN-Revision: 28993

13 years agokernel: ar8216: move port vlan setup into a separate function
Gabor Juhos [Sat, 12 Nov 2011 14:09:50 +0000 (14:09 +0000)]
kernel: ar8216: move port vlan setup into a separate function

SVN-Revision: 28992

13 years agopackage/base-files: enhance service functions
Nicolas Thill [Sat, 12 Nov 2011 13:53:15 +0000 (13:53 +0000)]
package/base-files: enhance service functions

 * allow matching process by name (useful for processes changing it)
 * check if first argument is executable
 * fix function name used in error messages

SVN-Revision: 28991

13 years agoar71xx: use the button for WPS control on the DB120
Gabor Juhos [Sat, 12 Nov 2011 12:50:20 +0000 (12:50 +0000)]
ar71xx: use the button for WPS control on the DB120

SVN-Revision: 28990

13 years agoar71xx: register the second ethernet interface on the DB120 board
Gabor Juhos [Sat, 12 Nov 2011 12:50:19 +0000 (12:50 +0000)]
ar71xx: register the second ethernet interface on the DB120 board

SVN-Revision: 28989

13 years agoar71xx: implement SoC specific phy interface setup
Gabor Juhos [Sat, 12 Nov 2011 12:50:18 +0000 (12:50 +0000)]
ar71xx: implement SoC specific phy interface setup

SVN-Revision: 28988

13 years agoar71xx: move phy interface setup into a separate function
Gabor Juhos [Sat, 12 Nov 2011 12:50:16 +0000 (12:50 +0000)]
ar71xx: move phy interface setup into a separate function

SVN-Revision: 28987

13 years agoar71xx: register both MDIO bus on the DB120 board
Gabor Juhos [Sat, 12 Nov 2011 12:09:59 +0000 (12:09 +0000)]
ar71xx: register both MDIO bus on the DB120 board

SVN-Revision: 28986

13 years agoar71xx: add AR934X specific MDIO registration code
Gabor Juhos [Sat, 12 Nov 2011 12:09:56 +0000 (12:09 +0000)]
ar71xx: add AR934X specific MDIO registration code

SVN-Revision: 28985

13 years agoar71xx: add a secondary mdio bus
Gabor Juhos [Sat, 12 Nov 2011 12:09:54 +0000 (12:09 +0000)]
ar71xx: add a secondary mdio bus

SVN-Revision: 28984

13 years agoar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
Gabor Juhos [Sat, 12 Nov 2011 12:09:50 +0000 (12:09 +0000)]
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*

SVN-Revision: 28983

13 years agoar71xx: add an id argument to ar71xx_add_device_mdio
Gabor Juhos [Sat, 12 Nov 2011 12:09:48 +0000 (12:09 +0000)]
ar71xx: add an id argument to ar71xx_add_device_mdio

SVN-Revision: 28982

13 years agoar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
Gabor Juhos [Sat, 12 Nov 2011 12:09:42 +0000 (12:09 +0000)]
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa

SVN-Revision: 28981

13 years agoar71xx: add AR934x specific USB setup
Gabor Juhos [Sat, 12 Nov 2011 10:54:20 +0000 (10:54 +0000)]
ar71xx: add AR934x specific USB setup

SVN-Revision: 28980

13 years agoar71xx: register the first ethernet interface on the DB120 board
Gabor Juhos [Sat, 12 Nov 2011 10:54:18 +0000 (10:54 +0000)]
ar71xx: register the first ethernet interface on the DB120 board

SVN-Revision: 28979

13 years agoar71xx: allow to register ethernet interfaces for AR934X
Gabor Juhos [Sat, 12 Nov 2011 10:54:17 +0000 (10:54 +0000)]
ar71xx: allow to register ethernet interfaces for AR934X

SVN-Revision: 28978

13 years agoar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
Gabor Juhos [Sat, 12 Nov 2011 10:54:16 +0000 (10:54 +0000)]
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered

SVN-Revision: 28977

13 years agoar71xx: add AR934X specific bootstrap and reset register bits
Gabor Juhos [Sat, 12 Nov 2011 10:54:15 +0000 (10:54 +0000)]
ar71xx: add AR934X specific bootstrap and reset register bits

SVN-Revision: 28976

13 years agoar71xx: add diag support for the DB120 board
Gabor Juhos [Sat, 12 Nov 2011 10:54:10 +0000 (10:54 +0000)]
ar71xx: add diag support for the DB120 board

SVN-Revision: 28975

13 years agoar71xx: fix GPIO direction setup for AR934x
Gabor Juhos [Sat, 12 Nov 2011 10:54:09 +0000 (10:54 +0000)]
ar71xx: fix GPIO direction setup for AR934x

SVN-Revision: 28974

13 years agoar71xx: fix AR934X clock frequency calculation
Gabor Juhos [Sat, 12 Nov 2011 10:54:08 +0000 (10:54 +0000)]
ar71xx: fix AR934X clock frequency calculation

SVN-Revision: 28973

13 years agopackage: add om2p-watchdog script
Gabor Juhos [Sat, 12 Nov 2011 10:54:06 +0000 (10:54 +0000)]
package: add om2p-watchdog script

Based on a patch by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 28972

13 years agoar71xx: generate ubootenv from uci-defaults instead of providing defconfig
Gabor Juhos [Sat, 12 Nov 2011 10:54:04 +0000 (10:54 +0000)]
ar71xx: generate ubootenv from uci-defaults instead of providing defconfig

I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28971

13 years agopjsip: bump to 1.10 and improve ltq_tapi backend
John Crispin [Fri, 11 Nov 2011 22:23:26 +0000 (22:23 +0000)]
pjsip: bump to 1.10 and improve ltq_tapi backend

SVN-Revision: 28963

13 years agolantiq: improve falcon package selection
John Crispin [Fri, 11 Nov 2011 21:59:11 +0000 (21:59 +0000)]
lantiq: improve falcon package selection

SVN-Revision: 28962

13 years agolantiq: fix breakage introduced in 3.1 bump
John Crispin [Fri, 11 Nov 2011 21:59:01 +0000 (21:59 +0000)]
lantiq: fix breakage introduced in 3.1 bump

SVN-Revision: 28961

13 years agobase-files: now that the initial password is completely empty (and not primed with...
Jo-Philipp Wich [Fri, 11 Nov 2011 13:25:31 +0000 (13:25 +0000)]
base-files: now that the initial password is completely empty (and not primed with "!") adjust login.sh for it to make telnetd available again

SVN-Revision: 28943

13 years agopackage/base-files-network: fix udhcpc issues introduced in r28866 (closes: #10383)
Nicolas Thill [Fri, 11 Nov 2011 13:23:29 +0000 (13:23 +0000)]
package/base-files-network: fix udhcpc issues introduced in r28866 (closes: #10383)

SVN-Revision: 28942

13 years agomac80211: add antenna control api for b43
Jo-Philipp Wich [Thu, 10 Nov 2011 23:07:42 +0000 (23:07 +0000)]
mac80211: add antenna control api for b43

SVN-Revision: 28940

13 years agoacx-mac80211: update to 20111030
Florian Fainelli [Thu, 10 Nov 2011 15:31:37 +0000 (15:31 +0000)]
acx-mac80211: update to 20111030

Fixes build failures with Linux 3.1+

SVN-Revision: 28939

13 years agonuke another 2.4 skeleton
Imre Kaloz [Thu, 10 Nov 2011 13:39:06 +0000 (13:39 +0000)]
nuke another 2.4 skeleton

SVN-Revision: 28937

13 years agoenable and use shadow passwords by default
Imre Kaloz [Thu, 10 Nov 2011 12:55:01 +0000 (12:55 +0000)]
enable and use shadow passwords by default

SVN-Revision: 28936

13 years agothe empty root password should be empty ;)
Imre Kaloz [Thu, 10 Nov 2011 12:47:50 +0000 (12:47 +0000)]
the empty root password should be empty ;)

SVN-Revision: 28935

13 years agobase-files, target: assign name to system timeserver section, makes it easier to...
Jo-Philipp Wich [Thu, 10 Nov 2011 12:16:41 +0000 (12:16 +0000)]
base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli

SVN-Revision: 28933

13 years agopackage: kernel: fix typo
Jonas Gorski [Wed, 9 Nov 2011 22:11:51 +0000 (22:11 +0000)]
package: kernel: fix typo

SVN-Revision: 28898

13 years agopackage: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
Jonas Gorski [Wed, 9 Nov 2011 21:16:52 +0000 (21:16 +0000)]
package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)

SVN-Revision: 28897

13 years agopackage: mac80211: mark as broken for 3.2
Jonas Gorski [Wed, 9 Nov 2011 21:16:48 +0000 (21:16 +0000)]
package: mac80211: mark as broken for 3.2

SVN-Revision: 28896

13 years agopackage: acx: mark as broken for 3.2
Jonas Gorski [Wed, 9 Nov 2011 21:16:45 +0000 (21:16 +0000)]
package: acx: mark as broken for 3.2

SVN-Revision: 28895

13 years agopackage: madwifi: mark as broken for 3.2
Jonas Gorski [Wed, 9 Nov 2011 21:16:42 +0000 (21:16 +0000)]
package: madwifi: mark as broken for 3.2

SVN-Revision: 28894

13 years agotarget: linux: mtd: fix MTDREFRESH to an arbitrary high number
Jonas Gorski [Wed, 9 Nov 2011 21:16:36 +0000 (21:16 +0000)]
target: linux: mtd: fix MTDREFRESH to an arbitrary high number

To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893

13 years agouhttpd: cope with DES crypted passwd entries by not relying on a leading dollar sign...
Jo-Philipp Wich [Wed, 9 Nov 2011 18:55:28 +0000 (18:55 +0000)]
uhttpd: cope with DES crypted passwd entries by not relying on a leading dollar sign to indicate a cipher

SVN-Revision: 28886

13 years agopackage/busybox: passwd: use MD5 hash by default (like it used to be)
Nicolas Thill [Wed, 9 Nov 2011 17:32:23 +0000 (17:32 +0000)]
package/busybox: passwd: use MD5 hash by default (like it used to be)

SVN-Revision: 28885

13 years agopacakge/iw: don't show a stray ']' if the chain signal attribute list is empty
Gabor Juhos [Wed, 9 Nov 2011 11:47:44 +0000 (11:47 +0000)]
pacakge/iw: don't show a stray ']' if the chain signal attribute list is empty

Without the patch, the output of 'station dump' command looks weird in
some cases:

root@OpenWrt:/# iw dev wlan0 station dump
Station 00:21:27:cb:57:02 (on wlan0)
        inactive time:  190 ms
        rx bytes:       36652
        rx packets:     149
        tx bytes:       1998
        tx packets:     16
        tx retries:     0
        tx failed:      0
        signal:         -31 ] dBm
        signal avg:     -30 [-32, -36] dBm
        tx bitrate:     5.5 MBit/s
        rx bitrate:     54.0 MBit/s
root@OpenWrt:/#

SVN-Revision: 28879

13 years agofirewall: add DHCPv6 default rule (#10381)
Jo-Philipp Wich [Wed, 9 Nov 2011 11:10:37 +0000 (11:10 +0000)]
firewall: add DHCPv6 default rule (#10381)

SVN-Revision: 28874

13 years agopackage/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions
Nicolas Thill [Wed, 9 Nov 2011 00:23:58 +0000 (00:23 +0000)]
package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions

SVN-Revision: 28871

13 years agopackage/base-files: /lib/functions.sh: let service_stop exit early if no matching...
Nicolas Thill [Tue, 8 Nov 2011 23:35:13 +0000 (23:35 +0000)]
package/base-files: /lib/functions.sh: let service_stop exit early if no matching process to stop where found

SVN-Revision: 28870

13 years agopackage/relayd: use new service wrappers
Nicolas Thill [Tue, 8 Nov 2011 22:48:11 +0000 (22:48 +0000)]
package/relayd: use new service wrappers

SVN-Revision: 28869

13 years agopackage/ppp: use new service wrappers
Nicolas Thill [Tue, 8 Nov 2011 22:48:05 +0000 (22:48 +0000)]
package/ppp: use new service wrappers

SVN-Revision: 28868

13 years agopackage/linux-atm: use new service wrappers
Nicolas Thill [Tue, 8 Nov 2011 22:48:00 +0000 (22:48 +0000)]
package/linux-atm: use new service wrappers

SVN-Revision: 28867

13 years agopackage/base-files-network: use new service wrappers
Nicolas Thill [Tue, 8 Nov 2011 22:47:54 +0000 (22:47 +0000)]
package/base-files-network: use new service wrappers

SVN-Revision: 28866

13 years agopackage/base-files: enhance & cleanup service wrappers
Nicolas Thill [Tue, 8 Nov 2011 22:47:49 +0000 (22:47 +0000)]
package/base-files: enhance & cleanup service wrappers

 * add service_check function for checking if a process is alive
 * add service_signal for sending arbitrary signals to a process
 * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't
 * have service_kill print a warning on STDERR stating it has been deprecated

SVN-Revision: 28865

13 years agopackage/base-files: move service* functions from /etc/rc.common to /lib/functions.sh
Nicolas Thill [Tue, 8 Nov 2011 22:47:41 +0000 (22:47 +0000)]
package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh

SVN-Revision: 28864

13 years agobase-files: do not kill udhcpc on sysupgrade, it will tear down the interface if...
Jo-Philipp Wich [Tue, 8 Nov 2011 19:14:55 +0000 (19:14 +0000)]
base-files: do not kill udhcpc on sysupgrade, it will tear down the interface if terminated

SVN-Revision: 28863

13 years agobase-files: do not assume that "top" is busybox' top, but try to call the applet...
Jo-Philipp Wich [Tue, 8 Nov 2011 18:48:38 +0000 (18:48 +0000)]
base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely

SVN-Revision: 28862

13 years agobase-files: properly handle wifi ifaces with no network attached, useful for unmanage...
Jo-Philipp Wich [Tue, 8 Nov 2011 14:42:58 +0000 (14:42 +0000)]
base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring

SVN-Revision: 28860

13 years agohostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
Jo-Philipp Wich [Tue, 8 Nov 2011 14:22:56 +0000 (14:22 +0000)]
hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces

SVN-Revision: 28858

13 years agopackage/base-files: move /etc/functions.sh to /lib/functions.sh
Nicolas Thill [Tue, 8 Nov 2011 14:14:29 +0000 (14:14 +0000)]
package/base-files: move /etc/functions.sh to /lib/functions.sh

SVN-Revision: 28857

13 years agoinclude/kernel.mk: enhance built-in/missing modules detection when packaging kmods
Nicolas Thill [Tue, 8 Nov 2011 14:00:36 +0000 (14:00 +0000)]
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods

SVN-Revision: 28856

13 years agonetifd: fix compile error when both libnl and libnl-tiny are built
Felix Fietkau [Tue, 8 Nov 2011 10:12:31 +0000 (10:12 +0000)]
netifd: fix compile error when both libnl and libnl-tiny are built

SVN-Revision: 28854