[OpenWrt-Devel] Buying a DIR-825-C1

2013-03-18 Thread Alexander Stadler
Hi! As I have added support for the D-Link Dir-825 Rev. C1 it would be nice to have one (and propably add the switch leds).. . Unfortunately its not avalaible here. Most (internet) stores are too bad to know which revision they sell, even its printed on a sticker on the outside of the box. But

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-08 Thread Alexander Stadler
Hi! "Discussed topic" already went into the patch and works, so thanks for communication and verification! Am 08.03.2013 13:48, schrieb Tijs Van Buggenhout: > > As long as the intension is not data protection, const can be useful ;-) > Just protection from the programmer ;-). > Tijs Alex _

[OpenWrt-Devel] [PATCH v2 001/003] [ar71xx] add kernel support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler kernel support for dir-835-a1 Signed-off-by: Alexander Stadler --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c

[OpenWrt-Devel] [PATCH v2 002/003] [ar71xx] add user space support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler user space support for dir-835-a1 Signed-off-by: Alexander Stadler --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh --- a/target/linux/ar71xx/base

[OpenWrt-Devel] [PATCH v2 003/003] [ar71xx] add profile support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler profile support for dir-835-a1 Signed-off-by: Alexander Stadler --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/generic/profiles/d-link.mk b/target/linux/ar71xx/generic/profiles/d-link.mk --- a/target/linux/ar71xx

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 17:25, schrieb Tijs Van Buggenhout: > On Thursday 07 March 2013 16:39:33 Alexander Stadler wrote: >> Am 07.03.2013 16:24, schrieb Matthijs Kooijman: >>> Hi Alexander, Hi Tijs, just read after I've sent my last Message.. . >>> >>>> The nex

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 17:01, schrieb Matthijs Kooijman: > Hi Alexander, > static void __init board_generic_setup(struct gpio_led *leds_gpio, size_t leds_gpio_size, struct gpio_keys_button *gpio_keys, size_t gpio_keys_size, struct mdio_board_info *mdio0_info, size_t mdio0_info_size) >

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 16:24, schrieb Matthijs Kooijman: > Hi Alexander, > >> The next thought was that ARRAY_SIZE macro must get an array and not >> an pointer, so I tried it with: > That's exactly right. An array's size is not stored in memory, so you > can only get at it at compile time. However, then y

[OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Hi! Haven't developed for many years, and I unfortunately see the effects ;-). Can someone please help me with a short question? After that I can finish a patch.. . I have i.e.: static struct gpio_led board_leds_gpio[] __initdata = { { .name = "board:power",

Re: [OpenWrt-Devel] [PATCH 001/003] [ar71xx] add kernel support for dir-835-a1

2013-03-04 Thread Alexander Stadler
Am 04.03.2013 14:56, schrieb Gabor Juhos: > Hi Alex, > >> I also thought on this for a moment. >> But: >> I found no examples which did this like it shoud be done here. But could be >> that I've overseen such one. >> The leds have different colors so names so the struct gpio_led will be >> differ

Re: [OpenWrt-Devel] [PATCH 001/003] [ar71xx] add kernel support for dir-835-a1

2013-03-04 Thread Alexander Stadler
03.03.2013 13:58, schrieb Gabor Juhos: > 2013.02.27. 12:49 keltezéssel, Alexander Stadler írta: >> From: Alexander Stadler >> >> kernel support for dir-835-a1 >> >> Signed-off-by: Alexander Stadler >> --- >> diff -urN a/target/linux/ar71xx/config-

[OpenWrt-Devel] [PATCH 002/003] [ar71xx] add user space support for dir-835-a1

2013-02-27 Thread Alexander Stadler
From: Alexander Stadler user space support for dir-835-a1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh --- a/target/linux/ar71xx/base-files/etc/diag.sh2013-02-24 18:43:51.0 +0100 +++ b

[OpenWrt-Devel] [PATCH 001/003] [ar71xx] add kernel support for dir-835-a1

2013-02-27 Thread Alexander Stadler
From: Alexander Stadler kernel support for dir-835-a1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/config-3.7 b/target/linux/ar71xx/config-3.7 --- a/target/linux/ar71xx/config-3.72013-02-24 18:43:51.0 +0100 +++ b/target/linux/ar71xx/config-3.72013-02-24

[OpenWrt-Devel] [PATCH 003/003] [ar71xx] add profile support for dir-835-a1

2013-02-27 Thread Alexander Stadler
From: Alexander Stadler profile support for dir-835-a1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/generic/profiles/d-link.mk b/target/linux/ar71xx/generic/profiles/d-link.mk --- a/target/linux/ar71xx/generic/profiles/d-link.mk2013-02-24 18:43:51.0 +0100

[OpenWrt-Devel] [PATCH] [ar71xx] fixes leds (and updates mac assignement) for dir-825-c1

2013-02-27 Thread Alexander Stadler
From: Alexander Stadler fix leds (and update mac assignement) for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c --- a/target/linux/ar71xx/files/arch/mips

[OpenWrt-Devel] dir-835-a1 testimage

2013-02-22 Thread Alexander Stadler
Who wanted the "led testimage" for DIR 835 Rev. A? Alex ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [ar71xx] fixes switch-config for dir-825-c1

2013-02-18 Thread Alexander Stadler
no Schupp > > On 14/02/2013, at 6:08 AM, Alexander Stadler wrote: > >> Hi! >> >> Don't know if we backport models for Attitude Adjustment? (Model not >> supported on attitude adjustment, so its not that specific patch alone which >> needs to be backp

Re: [OpenWrt-Devel] [PATCH] [ar71xx] fixes switch-config for dir-825-c1

2013-02-13 Thread Alexander Stadler
upp: > Can this please be back ported to AA ? > > Kind Regards > > Hanno Schupp > > On 14/02/2013, at 2:33 AM, Alexander Stadler wrote: > >> From: Alexander Stadler >> >> fix switch-config for dir-825-c1 >> >> Signed-off-by: Alexander Stadl

[OpenWrt-Devel] [PATCH] [ar71xx] fixes factory image creation for dir-825-c1

2013-02-13 Thread Alexander Stadler
From: Alexander Stadler fix factory image creation for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile --- a/target/linux/ar71xx/image/Makefile2013-02-13 15:02:30.0 +0100 +++ b/target/linux

[OpenWrt-Devel] [PATCH] [ar71xx] fixes switch-config for dir-825-c1

2013-02-13 Thread Alexander Stadler
From: Alexander Stadler fix switch-config for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

Re: [OpenWrt-Devel] problems with preloaded config

2013-02-11 Thread Alexander Stadler
My effective approach was to edit package/mac80211/files/lib/wifi/mac80211.sh directly. Propably you prefer or also need to use package/base-files/files/lib/functions/uci-defaults.sh but than don't overlook that its target/linux/ar71xx/base-files/etc/defconfig/wndr3700 for network config of this p

[OpenWrt-Devel] [PATCH] [ar71xx] fixes whitespaces for dir-825-c1

2013-01-30 Thread Alexander Stadler
From: Alexander Stadler fix whitespaces for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c

[OpenWrt-Devel] [PATCH 002/003] [ar71xx] add user space support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler user space support for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/trunk/target/linux/ar71xx/base-files/etc/diag.sh b/trunk/target/linux/ar71xx/base-files/etc/diag.sh --- a/trunk/target/linux/ar71xx/base-files/etc/diag.sh 2012-12-31 19:36:34.0

[OpenWrt-Devel] [PATCH 001/003] [ar71xx] add kernel support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler kernel support for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/trunk/target/linux/ar71xx/config-3.7 b/trunk/target/linux/ar71xx/config-3.7 --- a/trunk/target/linux/ar71xx/config-3.7 2012-12-31 19:36:34.0 +0100 +++ b/trunk/target/linux

[OpenWrt-Devel] [PATCH 003/003] [ar71xx] add profile support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler profile support for dir-825-c1 Signed-off-by: Alexander Stadler --- diff -urN a/trunk/target/linux/ar71xx/generic/profiles/d-link.mk b/trunk/target/linux/ar71xx/generic/profiles/d-link.mk --- a/trunk/target/linux/ar71xx/generic/profiles/d-link.mk 2012-12-31 19:36

[OpenWrt-Devel] add support for dir-825-c1 (2)

2013-01-13 Thread Alexander Stadler
.) Please review the patch because I would be glad if the new hardware gets supported by trunk! (And I will not be suprised when d-link creates more models on this platform soon (like the dir835..).) Alex/* * D-Link DIR-825 rev. C1 board support * * Copyright (C) 2012 Alexander Stadler

[OpenWrt-Devel] add support for dir-825-c1

2013-01-07 Thread Alexander Stadler
Hi! Its the first time I try this, so please give the attached patches a review. To simplify, all points which weren't clear to me are: dd-wrt has an explicit: (http://svn.dd-wrt.com/browser/src/router/Makefile.pb42) ifeq ($(CONFIG_DIR825C1),y) dd if=$(ARCH)-uclibc/root.uimage of=$(ARCH

[OpenWrt-Devel] net-next and attitude_adjustment

2012-11-30 Thread Alexander Stadler
Nachricht Betreff: Re: [OpenWrt-Devel] [PATCH 4/5] kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes) Von: "Alexander Stadler" Datum: Do, 29.11.2012, 19:07 An: "OpenWrt D

Re: [OpenWrt-Devel] [PATCH 4/5] kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)

2012-11-29 Thread Alexander Stadler
Do you want to backport 060-tcp-ecn-dont-delay-ACKS-after-CE.patch 061-fq_codel-dont-reinit-flow-state.patch now? (were r33686, r33687 / r33887) Seems like a good moment for that? Thanks! On Do, 29.11.2012, 18:47, Gabor Juhos wrote: > 2012.11.29. 1:23 keltezéssel, David Woodhouse írta: >> Patche

Re: [OpenWrt-Devel] What are the criterias for backports into attitude_adjustment? (2)

2012-11-19 Thread Alexander Stadler
wrote: > On Sunday 18 November 2012 16:50:32 Alexander Stadler wrote: >> Nobody here to answer the rather simple question? (see below) > > I don't think these patches are important enough to trigger a kernel > rebuild > for all AA targets, but that is just my opinion. > &

[OpenWrt-Devel] What are the criterias for backports into attitude_adjustment? (2)

2012-11-18 Thread Alexander Stadler
Nobody here to answer the rather simple question? (see below) On Sa, 10.11.2012, 19:15, Alexander Stadler wrote: > Can someone please answer what the criterias for backports into > attitude_adjustment are? > Jow just closes it as a ticket (https://dev.openwrt.org/ticket/12355). > And

[OpenWrt-Devel] What are the criterias for backports into attitude_adjustment?

2012-11-10 Thread Alexander Stadler
Alex On Mi, 7.11.2012, 22:38, Alexander Stadler wrote: > This and the following patch went into trunk r33686 and r33687 (r33887). > What are the criterias for backports into attitude_adjustment? > I'm asking because some make it into there directly and if this went > upstream i tho

Re: [OpenWrt-Devel] [PATCH 1/8] net-next: dont delay acks after ECN CE

2012-11-07 Thread Alexander Stadler
This and the following patch went into trunk r33686 and r33687 (r33887). What are the criterias for backports into attitude_adjustment? I'm asking because some make it into there directly and if this went upstream i thought its going to be a canditate soon. Thanks! Alex On Mo, 1.10.2012, 17:49,

Re: [OpenWrt-Devel] [PATCH] ppp switch to version 2.4.4

2009-07-29 Thread Alexander Stadler
Hi! I just wanted to state that I've submittet "the" ppp patch a month ago (24.6.) with some others. Unfortunately I think none of them got applied yet.. . I'm using this updates for months now. (pptpd 1.3.0->1.3.4, mppc support for Kernel 2.6, memory bug fix of paravirtualization for kernel 2.

Re: [OpenWrt-Devel] [PATCH] Changes reboot=bios to reboot=acpi on x86 (2)

2009-06-25 Thread Alexander Stadler
e profile in menuconfig for VMWare, and make some configurations i.e. reboot=acpi, LSI and Buslogic SCSI, PIIX, E1000 and PCNet LAN, and some more. If the community is interested I can post recommended settings. I've done very much on ESX and Workstation with it.. . > > --- On Wed, 6/24/09, Alex

[OpenWrt-Devel] [PATCH] Add the option mppe-optional to pppd - 2/2

2009-06-24 Thread Alexander Stadler
en. ("mppe-optional" in combination with "mppe required" instead of "mppe" only) Signed-off-by: Alexander Stadler -- diff -urN a/pppd/auth.c b/pppd/auth.c --- a/pppd/auth.c 2009-05-04 16:41:01.0 +0200 +++ b/pppd/auth.c 2009-05-04 1

[OpenWrt-Devel] [PATCH] Add the option mppe-optional to pppd - 1/2

2009-06-24 Thread Alexander Stadler
onnections. And use mppe by default if set optionally on the client, instead of not using it by default then. ("mppe-optional" in combination with "mppe required" instead of "mppe" only) Signed-off-by: Alexander Stadler -- diff -urN a/8.09/package/ppp/patches/

[OpenWrt-Devel] [PATCH] Adds mppc (compression) support to ppp 2.4.4 (as it was in 2.4.3) - 2/2

2009-06-24 Thread Alexander Stadler
Adds support for mppc (compression) to ppp 2.4.4. Signed-off-by: Alexander Stadler -- diff -urN ppp-2.4.4.orig/include/linux/ppp-comp.h ppp-2.4.4/include/linux/ppp-comp.h --- ppp-2.4.4.orig/include/linux/ppp-comp.h 2002-12-06 12:49:15.0 +0300 +++ ppp-2.4.4/include/linux/ppp

[OpenWrt-Devel] [PATCH] Adds mppc (compression) support to ppp 2.4.4 (as it was in 2.4.3) - 1/2

2009-06-24 Thread Alexander Stadler
Creates the patchfile which adds support for mppc (compression) to ppp 2.4.4 (File 901-mppe-mppc-1.1.patch, which I send as standalone in 2/2). Signed-off-by: Alexander Stadler -- diff -urN a/8.09/package/ppp/patches/901-mppe-mppc-1.1.patch b/8.09/package/ppp/patches/901-mppe-mppc-1.1

[OpenWrt-Devel] [PATCH] Changes reboot=bios to reboot=acpi on x86

2009-06-24 Thread Alexander Stadler
Changes reboot=bios to reboot=acpi on x86. I'm doing this because reboot=bios lets paravirtualized maschines hang when trieing to reboot (and I would recommend to add acpi when using x86, but reboot also works with this option when acpi is not enabled). Signed-off-by: Alexander St

[OpenWrt-Devel] [PATCH] Lowers the priority of clocksource tsc below acpi in kernel.2.6.25 - 2/2

2009-06-24 Thread Alexander Stadler
Lowers the "priority" of clocksource tsc below acpi on x86 systems. I'm doing this, because tsc is not stable on virtualized machines nor on smp systems, and so acpi gets selected instead of tsc and then jiffies (if acpi is built in, which I would recommend for x86). Signed-of

[OpenWrt-Devel] [PATCH] Corrects a (memory) bug of the paravirtualization feature in kernel.2.6.25 - 2/2

2009-06-24 Thread Alexander Stadler
Corrects a (memory) bug of the paravirtualization feature in kernel 2.6.25 (which got corrected later in 2.6.29). Signed-off-by: Alexander Stadler -- diff -urN openwrt-8.09/arch/x86/xen/enlighten.c openwrt/arch/x86/xen/enlighten.c --- a/arch/x86/xen/enlighten.c 2008-09-08 12:20

[OpenWrt-Devel] [PATCH] Lowers the priority of clocksource tsc below acpi in kernel.2.6.25 - 1/2

2009-06-24 Thread Alexander Stadler
of tsc and then jiffies (if acpi is built in, which I would recommend for x86). Signed-off-by: Alexander Stadler -- diff -urN a/8.09/target/linux/generic-2.6/patches-2.6.25/997-tsc_on_vm.patch b/8.09/target/linux/generic-2.6/patches-2.6.25/997-tsc_on_vm.patch --- a/8.09/target/linux/gene

[OpenWrt-Devel] [PATCH] Corrects a (memory) bug of the paravirtualization feature in kernel.2.6.25 - 1/2

2009-06-24 Thread Alexander Stadler
Creates the patchfile which corrects a (memory) bug of the paravirtualization feature in kernel 2.6.25 (which got corrected later in 2.6.29) (File 998-paravirt_release_pmd.patch, which I send as standalone in 2/2) Signed-off-by: Alexander Stadler -- diff -urN a/8.09/target/linux/generic