[OpenWrt-Devel] [PATCH 16/18, v2] broadcom-wl: support probe of 'wds' devices

2013-11-10 Thread Nathan Hintz
'nas' requires probe of 'wds' devices to be successful; so don't fail them. Signed-off-by: Nathan Hintz --- .../patches/015-support-probe-of-wds-interfaces.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/broadcom-wl/

[OpenWrt-Devel] [PATCH 11/18, v2] broadcom-wl: add support for setting H/W address

2013-11-10 Thread Nathan Hintz
Some devices initialize with a default address (common to all H/W). The address needs to be changeable so that a unique address can be assigned to each AP. Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, w

[OpenWrt-Devel] [PATCH 12/18, v2] broadcom-wl: improve device cleanup

2013-11-10 Thread Nathan Hintz
Move all device cleanup to "disable_broadcom". Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 36 +- 1 f

[OpenWrt-Devel] [PATCH 14/18, v2] broadcom-wl: perform additional cleanup on wl module unload

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/patches/007-use-glue-driver.patch | 8 ++-- .../kernel/broadcom-wl/patches/008-fix_virtual_interfaces.patch | 2 +- package/kernel/broadcom-wl/patches/012-compat-3.10.patch | 2 +- package/kernel/broadcom-wl/patches

[OpenWrt-Devel] [PATCH 9/18, v2] broadcom-wl: clean up variable definitions (broadcom.sh)

2013-11-10 Thread Nathan Hintz
Specify variables as 'local' where appropriate Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 47 +- 1 f

[OpenWrt-Devel] [PATCH 15/18, v2] broadcom-wl: fix crash when starting multiple virtual interfaces

2013-11-10 Thread Nathan Hintz
When enabling multiple VIFS, the driver sometimes crashes. The frequency of the crash increases as more VIFS are enabled. Signed-off-by: Nathan Hintz --- .../patches/008-fix_virtual_interfaces.patch | 123 - .../broadcom-wl/patches/009-fix_compile_3_2.patch | 4

[OpenWrt-Devel] [PATCH 8/18, v2] broadcom-wl: simplify processing of 'hwmode'

2013-11-10 Thread Nathan Hintz
Default gmode to "GOnly" unless explicitly overwridden. This corrects processing for 11ng to specify "GOnly" for gmode instead of "Auto" (which translated to "bg"). Signed-off-by: Nathan Hintz --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 4

[OpenWrt-Devel] [PATCH 13/18, v2] broadcom-wl: support more virtual interfaces

2013-11-10 Thread Nathan Hintz
Read the number of virtual interfaces to support from the device capabilities; as some newer devices can support up to 16. Signed-off-by: Nathan Hintz --- v2 - Added an error check when attempting to read 'bssmax'. .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 10 - pack

[OpenWrt-Devel] [PATCH 17/18, v2] broadcom-wl: support 'wds' interfaces on 'wl1' device

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/k

[OpenWrt-Devel] [PATCH 18/18, v2] broadcom-wl: version roll

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-wl/Makefile b/package/kernel/broadcom-wl/Makefile index 3b4d54c..588ac34 100644 --- a/package/kernel/broadcom-wl/Makefile +++ b/package

[OpenWrt-Devel] [PATCH, v2] zram-swap: fix dependencies

2013-11-12 Thread Nathan Hintz
swapon/swapoff are no longer provided by swap-utils; they are provided by block-mount instead. Signed-off-by: Nathan Hintz --- package/system/zram-swap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap

Re: [OpenWrt-Devel] [PATCH] ixp4xx: support for little endian build

2013-11-15 Thread Nathan Hintz
On Sun, 03 Nov 2013 20:41:15 +0100 "Imre Kaloz" wrote: > On Sat, 02 Nov 2013 20:38:19 +0100, Nathan Hintz wrote: > > > > > Set ARCH=arm in target/linux/ixp4xx/Makefile > > > > There are virtually zero LE ixp4xx devices out there, and this config

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-09-22 Thread Nathan Hintz
Have anyone tried other MIPS specific options, like -mfix-r4000? Felix Fietkau wrote: On 2012-09-21 3:19 PM, Bastian Bittorf wrote: > sorry for late reply and breaking the ml-thread: > >> > You can add '-mno-branch-likely' option to CFLAGS. The option ensures that >> > such >> > instructions wi

[OpenWrt-Devel] [PATCH][RFC] Add 'N' mode support to broadcom-wl

2012-09-23 Thread Nathan Hintz
This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html). Signed-off-by: Nathan Hintz Index: trunk/package/broadcom-wl/Makefile === --- trunk/package

[OpenWrt-Devel] [PATCH,v5,1/2] BCMA - Enable use of IRQ6

2012-12-10 Thread Nathan Hintz
Modify the BCMA MIPS driver to internalize the subtleties of the MIPS IRQ. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch @@ -0,0 +1,96 @@ +--- a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h +@@ -341,6 +341,7

[OpenWrt-Devel] [PATCH,v5,2/2] BCMA - Enable use of IRQ6

2012-12-10 Thread Nathan Hintz
Enable use of IRQ6 for PCIE core on 4716 (Linksys E3000), correct resetting of previous IRQ (oldirq), and insure that bcma_core_set_mips_irq is called for PCIE, Chipcommon and I2S cores. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/236-bcma-fix-irq

[OpenWrt-Devel] [PATCH] Fix IRQ Flag for I2S Core

2012-12-10 Thread Nathan Hintz
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and BCM4748 (per the Broadcom SDK). IRQ Flag values greater than 7 are ignored when setting the IRQ Mask. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch

[OpenWrt-Devel] [PATCH,RFC] BCMA - Broadcom 2011 SDK Updates

2012-12-10 Thread Nathan Hintz
I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't noticed any obvious changes in behavior with them applied; but thought I should at least pass them on. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/241-bcma-broadcom-201

[OpenWrt-Devel] [PATCH] broadcom-wl: Pass physical address to wl_attach

2012-12-10 Thread Nathan Hintz
wl_attach expects a physical address, as it performs the mapping internally. Signed-off-by: Nathan Hintz Index: package/broadcom-wl/src/glue/wl_glue.c === --- package/broadcom-wl/src/glue/wl_glue.c (revision 34624) +++ package

[OpenWrt-Devel] [PATCH] Additional BCM4716 support

2012-12-10 Thread Nathan Hintz
Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/image/Makefile === --- target/linux/brcm47xx/image/Makefile(revision 34624) +++ target/linux

[OpenWrt-Devel] State of the Broadcom GMAC Ethernet driver?

2012-12-10 Thread Nathan Hintz
It has been mentioned in several threads that development of a GMAC Ethernet driver may be in work. If this is expected to take a while; would it be possible to include the driver written by George Kashperko (http://www.znau.edu.ua/temp/asus-rt-n16/) in OpenWRT now that the source for the Broadcom

Re: [OpenWrt-Devel] [PATCH,v5,2/2] BCMA - Enable use of IRQ6

2012-12-13 Thread Nathan Hintz
On Thu, 2012-12-13 at 19:10 +0100, Hauke Mehrtens wrote: > On 12/11/2012 05:32 AM, Nathan Hintz wrote: > > Enable use of IRQ6 for PCIE core on 4716 (Linksys E3000), correct > > resetting of previous IRQ (oldirq), and insure that > > bcma_core_set_mips_irq is called for PCI

Re: [OpenWrt-Devel] [PATCH] Fix IRQ Flag for I2S Core

2012-12-13 Thread Nathan Hintz
On Thu, 2012-12-13 at 19:15 +0100, Hauke Mehrtens wrote: > On 12/11/2012 05:48 AM, Nathan Hintz wrote: > > Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and > > BCM4748 (per the Broadcom SDK). IRQ Flag values greater than 7 are > > ignored when

Re: [OpenWrt-Devel] CFE help for bricked WRT54GS v2.

2012-12-17 Thread Nathan Hintz
On Sun, 2012-12-16 at 19:34 +, Ch'Gans wrote: > Hi there, > > We have a bricked WRT54GS v2 here, and are trying to bring it back to > life, with no success so far. > Are there any CFE/images guru around? > I've connected the router and the host computer together and setup a > tftp server. from

Re: [OpenWrt-Devel] CFE help for bricked WRT54GS v2.

2012-12-18 Thread Nathan Hintz
On Mon, 2012-12-17 at 11:19 +, Ch'Gans wrote: > 2012/12/17 Nathan Hintz : > > On Sun, 2012-12-16 at 19:34 +, Ch'Gans wrote: > >> Hi there, > >> > >> We have a bricked WRT54GS v2 here, and are trying to bring it back to > >> life, wit

[OpenWrt-Devel] [PATCH, 1/4] BCMA - IRQ Update - Enable use of IRQ6

2012-12-18 Thread Nathan Hintz
uot;mips_irq" is never greater than 4. The check should simply be removed. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/236-bcma-enable-irq6.patch @@ -0,0 +1,12 @@ +--- a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c +@@ -275,8 +275,7 @

[OpenWrt-Devel] [PATCH, 2/4] BCMA - IRQ Update - Fix IRQ Flag for I2S Core

2012-12-18 Thread Nathan Hintz
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and BCM4748 (per the Broadcom SDK). IRQ Flag values greater than 7 are ignored when setting the interrupt masks. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s

[OpenWrt-Devel] [PATCH, 3/4] BCMA - IRQ Update - Shared IRQ Assignment

2012-12-18 Thread Nathan Hintz
caused the DDR1/DDR2 Memory Controller core to be assigned to IRQ2 and resulted in a never ending stack dump. If this is to be pursued, I would recommend a separate patch. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/238-bcma-shared-irq-update.pat

[OpenWrt-Devel] [PATCH, 4/4] BCMA - IRQ Update - Fix IRQ Assignment

2012-12-18 Thread Nathan Hintz
nction will need to be updated to accomodate it as well. The first three patches in this series should be OK to accept without this change if more updates are required. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/239-bcma-fix-irq-assignm

[OpenWrt-Devel] [PATCH, 4/4, v2] BCMA - IRQ Update - Fix IRQ Assignment

2012-12-18 Thread Nathan Hintz
disregard the previous version of this patch (4/4); patches 1 through 3 of the series still apply. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/239-bcma-fix-irq-assignment.patch @@ -0,0 +1,150 @@ +--- a/drivers/bcma/driver_mips.c +++

[OpenWrt-Devel] PATCH] ROBO Switch Gigabit MII Support

2012-12-19 Thread Nathan Hintz
to set the port to Auto, but then only advertise 100FD (not included in this patch). I have a modified version of the robocfg package as well, I'd have to clean it up a little first (remove the full-duplex hack) before submitting it if there is interest. Signed-off-by: Nathan Hintz Index: pa

[OpenWrt-Devel] RADVD Excessive Reloading of Configuration File

2013-01-01 Thread Nathan Hintz
When running 'top', I sometimes see RADVD consuming a lot of CPU (some times close to 50%). I put some debug statements into RADVD, and have found that RADVD listens to a netlink socket, and basically reloads the configuration file for every netlink message it receives, regardless of content. I h

Re: [OpenWrt-Devel] [PATCH, 4/4, v2] BCMA - IRQ Update - Fix IRQ Assignment

2013-01-02 Thread Nathan Hintz
On Wed, 2013-01-02 at 19:22 +0100, Hauke Mehrtens wrote: > On 12/19/2012 05:09 AM, Nathan Hintz wrote: > > The existing IRQ logic incorrectly indicates cores that have no IRQ > > assignment as being assigned to the shared IRQ; this includes setting > > the "irq" fie

Re: [OpenWrt-Devel] RADVD Excessive Reloading of Configuration File

2013-01-02 Thread Nathan Hintz
I was seeing? This was using the broadcom-wl wireless driver. Thanks, Nathan On Wed, 2013-01-02 at 11:23 +0100, Saverio Proto wrote: > Hello, > > did you notify this problem upstream to radvd developers also ? > > thanks > > Saverio Proto > > > 2013/1/2 Natha

[OpenWrt-Devel] ROBOCFG Gigabit MII Support

2013-01-02 Thread Nathan Hintz
Companion patch to: https://lists.openwrt.org/pipermail/openwrt-devel/2012-December/017995.html Signed-off-by: Nathan Hintz Index: package/robocfg/src/etc53xx.h === --- package/robocfg/src/etc53xx.h (revision 34996

Re: [OpenWrt-Devel] [PATCH, 4/4, v2] BCMA - IRQ Update - Fix IRQ Assignment

2013-01-02 Thread Nathan Hintz
On Wed, 2013-01-02 at 19:12 -0800, Nathan Hintz wrote: > On Wed, 2013-01-02 at 19:22 +0100, Hauke Mehrtens wrote: > > On 12/19/2012 05:09 AM, Nathan Hintz wrote: > > > The existing IRQ logic incorrectly indicates cores that have no IRQ > > > assignment as being assig

Re: [OpenWrt-Devel] [PATCH,RFC] BCMA - Broadcom 2011 SDK Updates

2013-01-03 Thread Nathan Hintz
On Thu, 2012-12-13 at 19:55 +0100, Hauke Mehrtens wrote: > On 12/11/2012 05:56 AM, Nathan Hintz wrote: > > I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't > > noticed any obvious changes in behavior with them applied; but thought I > > sh

[OpenWrt-Devel] Clean up kmod-diag for Linksys E3000v1 / WRT610Nv2

2013-01-05 Thread Nathan Hintz
Special handling for Linksys E3000v1 is no longer required. WRT610Nv2 uses the same H/W and should be the same. Only tested on E3000v1. Signed-off-by: Nathan Hintz Index: package/broadcom-diag/src/diag.c === --- package/broadcom

[OpenWrt-Devel] [PATCH] Fix netifd crash if removing unknown device

2013-01-05 Thread Nathan Hintz
Netifd will crash if an attempt is made to remove a device that is not known to netifd. For instance: ubus call network.interface.lan remove_device "{ \"name\": \"xxx\" }" Signed-off-by: Nathan Hintz --- /dev/null +++ package/net

Re: [OpenWrt-Devel] ROBOCFG Gigabit MII Support (rescind)

2013-01-06 Thread Nathan Hintz
I would recommend not merging this patch. It is not working w/ the bgmac driver in trunk. Likely a driver issue, but just to be safe. Thanks, Nathan On Wed, 2013-01-02 at 21:11 -0800, Nathan Hintz wrote: > Companion patch to: > https://lists.openwrt.org/pipermail/openwrt-deve

[OpenWrt-Devel] [PATCH] BGMAC Driver corrections

2013-01-06 Thread Nathan Hintz
t; > /proc/switch/eth0/port/N/media). Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.6/750-bgmac.patch === --- target/linux/brcm47xx/patches-3.6/750-bgmac.patch (revision 35017) +++ target/linux/brcm47xx/pa

[OpenWrt-Devel] [PATCH] BCMA - Update default IRQ assignment per upstream change

2013-01-11 Thread Nathan Hintz
Update the default IRQ assignment for unrecognized devices per the upstream change. Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch === --- target/linux/brcm47xx/patches-3.6

[OpenWrt-Devel] [PATCH,v2] BCMA - Reduce code for MDIO access

2013-01-12 Thread Nathan Hintz
This patch combines the operations of bcma_pcie_mdio_read and bcma_pcie_mdio_write into a single function, for a modest code redution of ~0.2KB. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/242-bcma-reduce-mdio-ops.patch @@ -0,0 +1,103 @@ +--- a/drivers/bcma

[OpenWrt-Devel] [PATCH] BCMA - Change INFO msg to ERR

2013-01-12 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/243-bcma-change-info-msg-to-err.patch @@ -0,0 +1,11 @@ +--- a/drivers/bcma/driver_chipcommon_sflash.c b/drivers/bcma/driver_chipcommon_sflash.c +@@ -265,7 +265,7 @@ + } while (ret == -EAGAIN

[OpenWrt-Devel] [PATCH] BCMA - Honor CONFIG_BCMA_DEBUG Kconfig option

2013-01-12 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/244-bcma-honor-debug-option.patch @@ -0,0 +1,43 @@ +--- a/drivers/bcma/Makefile b/drivers/bcma/Makefile +@@ -10,5 +10,3 @@ + bcma-$(CONFIG_BCMA_HOST_PCI) += host_pci.o + bcma-$(CONFIG_BCMA_HOST_SOC

[OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-13 Thread Nathan Hintz
Insures zram swap is higher priority than any swap added by block-mount; which is not the case if zram swap is restarted for any reason (e.g., /etc/init.d/zram restart). Signed-off-by: Nathan Hintz Index: package/zram-swap/files/zram.init

[OpenWrt-Devel] [PATCH] BGMAC - Adjust AutoLoad number to be prior to switch modules

2013-01-13 Thread Nathan Hintz
Adjust the "AutoLoad" number for the BGMAC module to be prior to the switch modules. This probably isn't real important as the modules are loaded in the correct order by preinit anyway. Signed-off-by: Nathan Hintz Index: target/linux/brcm

[OpenWrt-Devel] [PATCH] Add Failsafe support for Linksys E3000V1 / WRT610NV2

2013-01-13 Thread Nathan Hintz
exists, or if "/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists? Could a similar method be used in "/etc/init.d/netconfig"? Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/base-files/lib/p

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Nathan Hintz
On Mon, 2013-01-14 at 11:25 +0100, Bastian Bittorf wrote: > * Nathan Hintz [14.01.2013 11:05]: > > > - swapon "$zram_dev" > > + swapon -p 0 "$zram_dev" > > this breaks zram for now, because we compile > the busybox-swaponoff wit

[OpenWrt-Devel] [PATCH, v2] Assign non-default priority to zram swap

2013-01-14 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: package/zram-swap/files/zram.init === --- package/zram-swap/files/zram.init (revision 35146) +++ package/zram-swap/files/zram.init (working copy) @@ -100,7 +100,7 @@ zram_reset

[OpenWrt-Devel] [PATCH] BGMAC - Minor updates to match the specs

2013-01-18 Thread Nathan Hintz
Minor updates to match the specs ( http://bcm-v4.sipsolutions.net/mac-gbit/gmac/ ). Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.6/750-bgmac.patch === --- target/linux/brcm47xx/patches-3.6/750-bgmac.patch

[OpenWrt-Devel] [PATCH] brcm47xx: reinstate gpio IRQ assignment

2013-01-19 Thread Nathan Hintz
Recent changes to the brcm47xx gpio implementation result in an IRQ no longer being assigned to the gpio driver. This breaks the ability to enter failsafe, and possibly other things. Only tested on a BCMA device (SSB not tested). Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx

[OpenWrt-Devel] [PATCH] MTD - Fix block_offset calculation

2013-01-25 Thread Nathan Hintz
The 'erasesize' used to compute 'block_offset' in 'mtd_fixtrx' (imagetag.c) is used before it is computed by 'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this. A similar problem in 'trx.c' was fixed in https://dev.openwrt.org/changeset/32866 . I do not have the H/W

Re: [OpenWrt-Devel] [PATCH] brcm47xx: Fix switch config on 4716/53115 devices

2013-02-04 Thread Nathan Hintz
On Mon, 2013-02-04 at 23:51 +0100, Hauke Mehrtens wrote: > On 02/04/2013 05:04 PM, Jonathan McCrohan wrote: > > Signed-off-by: Jonathan McCrohan > > --- > > target/linux/brcm47xx/base-files/etc/init.d/netconfig |2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/tar

[OpenWrt-Devel] [PATCH] Fix Board Name for Linksys E1000/E3000

2013-02-04 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.6/260-MIPS-BCM47XX-add-board-detection.patch === --- target/linux/brcm47xx/patches-3.6/260-MIPS-BCM47XX-add-board-detection.patch (revision 35492

[OpenWrt-Devel] [PATCH] Fix crash of pppd when printing options

2013-02-04 Thread Nathan Hintz
t is then referenced when printed. This was encountered using xl2tpd and the l2tp_ppp kernel module; the option PPPD crashed on is "pppol2tp 8". The attached patch corrects the parameter processing to save the option value. Signed-off-by: Nathan Hintz --- /dev/

[OpenWrt-Devel] [PATCH] Modify PPPD parameter definitions to support printing

2013-02-04 Thread Nathan Hintz
Fix definition of "ms-dns" and "ms-wins" options so printing is supported. Signed-off-by: Nathan Hintz --- /dev/null +++ package/network/services/ppp/patches/502-fix-ms-dns-and-ms-wins-print.patch @@ -0,0 +1,17 @@ +--- a/pppd/ipcp.c b/pppd/ipcp.c +@@ -175,10 +175,1

[OpenWrt-Devel] [PATCH, v2] BGMAC - Minor updates to match the specs

2013-02-07 Thread Nathan Hintz
Minor updates to match the specs ( http://bcm-v4.sipsolutions.net/mac-gbit/gmac/ ). Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.6/750-bgmac.patch === --- target/linux/brcm47xx/patches-3.6/750-bgmac.patch

[OpenWrt-Devel] [PATCH] MIPS BCM47XX - CPU_74K is non coherent

2013-02-10 Thread Nathan Hintz
re will be a lot of "Found poisoned packet at slot x, DMA issue!" messages generated to the console/dmesg. Note that this same call is used in other Broadcom ethernet drivers (e.g., b44 and tg3). Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.6/262-

Re: [OpenWrt-Devel] [PATCH] MIPS BCM47XX - CPU_74K is non coherent

2013-02-11 Thread Nathan Hintz
Nathan On Tue, 2013-02-12 at 03:10 +0100, Andreas Mohr wrote: > Hi, > > On Mon, Feb 11, 2013 at 12:00:01PM +0100, > openwrt-devel-requ...@lists.openwrt.org wrote: > > Date: Sun, 10 Feb 2013 22:40:12 -0800 > > From: Nathan Hintz > > > > +-static inli

Re: [OpenWrt-Devel] [PATCH, v2] BGMAC - Minor updates to match the specs

2013-02-11 Thread Nathan Hintz
, the rationale for the first hunk is that the readback of "BGMAC_INT_MASK" is specified at the following: Step 2, http://bcm-v4.sipsolutions.net/mac-gbit/gmac/chipintrsoff Hopefully, this gets through. Thanks, Nathan On Thu, 2013-02-07 at 00:55 -0800, Nathan Hintz wrote: > Minor up

[OpenWrt-Devel] [PATCH] dnsmasq - add support for "listen-address"

2013-02-11 Thread Nathan Hintz
: Nathan Hintz Index: package/network/services/dnsmasq/files/dnsmasq.init === --- package/network/services/dnsmasq/files/dnsmasq.init (revision 35569) +++ package/network/services/dnsmasq/files/dnsmasq.init (working copy) @@ -59,6 +59,10

[OpenWrt-Devel] [PATCH] netifd - Implement "unbridge" in /lib/network/config.sh

2013-02-11 Thread Nathan Hintz
od review, or even a different approach. Is there a reason why "unbridge" is not implemented? Signed-off-by: Nathan Hintz Index: package/network/config/netifd/files/lib/network/config.sh === --- package/network/config/neti

Re: [OpenWrt-Devel] [PATCH, v2] BGMAC - Minor updates to match the specs

2013-02-13 Thread Nathan Hintz
On Wed, 2013-02-13 at 07:53 +0100, Rafał Miłecki wrote: > 2013/2/12 Hauke Mehrtens : > > On 02/12/2013 08:00 AM, Nathan Hintz wrote: > >> The last two hunks of this patch were approved by Rafał, and were pushed > >> upstream. However, the first hunk still remains. Ra

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-13 Thread Nathan Hintz
On Wed, 2013-02-13 at 22:46 +0100, Hauke Mehrtens wrote: > On 02/13/2013 10:33 PM, Chirag Chhatriwala wrote: > > Hi All, > > > > I've notcied a huge deal of progress with bgmac in the recent month and > > was willing to help bring support for the E4200v1. I own one of these > > devices but I'm not

Re: [OpenWrt-Devel] Linksys E4200v1 Support

2013-02-13 Thread Nathan Hintz
On Wed, 2013-02-13 at 19:03 -0800, Nathan Hintz wrote: > On Wed, 2013-02-13 at 22:46 +0100, Hauke Mehrtens wrote: > > On 02/13/2013 10:33 PM, Chirag Chhatriwala wrote: > > > Hi All, > > > > > > I've notcied a huge deal of progress with bgmac in the recent

Re: [OpenWrt-Devel] WRT610n v2 support

2013-12-11 Thread Nathan Hintz
The patches being referred to can be found in this thread (https://lists.openwrt.org/pipermail/openwrt-devel/2010-May/007049.html). I have applied them with modifications to a recent version of trunk and the 2.6.37-rc6 kernel; and modified the build to produce a bootable image for a Linksys E3000

Re: [OpenWrt-Devel] WRT610n v2 support

2013-12-13 Thread Nathan Hintz
> > On Sat, Dec 18, 2010 at 2:19 AM, Nathan Hintz wrote: > > The patches being referred to can be found in this thread > > (https://lists.openwrt.org/pipermail/openwrt-devel/2010-May/007049.html). I > > have applied them with modifications to a recent version of trun

[OpenWrt-Devel] [PATCH] firewall: improve logging in hotplug script

2014-01-14 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: package/network/config/firewall/files/firewall.hotplug === --- package/network/config/firewall/files/firewall.hotplug (revision 39294) +++ package/network/config/firewall/files

[OpenWrt-Devel] [PATCH,v2 0/2] 6relayd updates

2014-01-14 Thread Nathan Hintz
>From 3ab6fc3a87c6782c324d0638da950efe35ca2194 Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Tue, 14 Jan 2014 21:00:29 -0800 Subject: [PATCH,v2 0/2] 6relayd updates Hi Steven: Of the gaggle of patches I sent previously for 6relayd when you were working on the RA filtering (for Comcast)

[OpenWrt-Devel] [PATCH, v2 1/2] 6relayd: verify fd is valid before use

2014-01-14 Thread Nathan Hintz
>From 400821e6eab2f7803d35862d6e03b9689f7cc18c Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Sun, 20 Oct 2013 14:02:48 -0700 Subject: [PATCH,v2 1/2] 6relayd: verify fd is valid before use Signed-off-by: Nathan Hintz ---  src/6relayd.c | 3 +++  1 file changed, 3 insertions(+) diff --gi

[OpenWrt-Devel] [PATCH, v2 2/2] 6relayd: minimize interface updates

2014-01-14 Thread Nathan Hintz
>From 3ab6fc3a87c6782c324d0638da950efe35ca2194 Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Sun, 1 Dec 2013 11:15:46 -0800 Subject: [PATCH,v2 2/2] 6relayd: minimize interface updates This is an attempt to prevent frequently triggering dnsmasq/firewall reload when only the validity tim

Re: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet length

2014-04-06 Thread Nathan Hintz
Hi Rafał: > From: zaj...@gmail.com > To: ha...@hauke-m.de; openwrt-devel@lists.openwrt.org > Date: Thu, 3 Apr 2014 19:26:48 +0200 > Subject: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet > length > > This bgmac patch was an attempt to

[OpenWrt-Devel] [PATCH 1/2] ppp: fix printing of DNS/WINS addresses

2014-05-06 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- Re-send of the following: http://patchwork.openwrt.org/patch/3246/ .../ppp/patches/502-fix-ms-dns-and-ms-wins-print.patch | 17 + 1 file changed, 17 insertions(+) create mode 100644 package/network/services/ppp/patches/502-fix-ms-dns-and-ms

[OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-06 Thread Nathan Hintz
ion value, and to call the printer utility with the correct parameters. Signed-off-by: Nathan Hintz --- Supersedes this patch: http://patchwork.openwrt.org/patch/3245/ package/network/services/ppp/Makefile | 2 +- .../501-fix-o_special-option-printing.patch| 29 ++

Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-11 Thread Nathan Hintz
ail.com > Date: Wed, 7 May 2014 14:40:20 +0800 > Subject: Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing > To: nlhi...@hotmail.com > CC: openwrt-devel@lists.openwrt.org > > Hi, Nathan. > > On 7 May 2014 13:25, Nathan Hintz wrote: >> >> PPPD crashes (SEGV) wh

Re: [OpenWrt-Devel] [PATCH] Fix addition of virtual interfaces in broadcom-wl

2011-08-01 Thread Nathan Hintz
nwrt-devel@lists.openwrt.org Subject: [PATCH] Fix addition of virtual interfaces in broadcom-wl Date: Sun, 3 Jul 2011 14:54:16 -0700 Fix addition of virtual interfaces in "broadcom-wl" (dev->netdev_ops not initialized) Signed-off-by: Nathan Hintz --- /dev/null +++ package/broa

[OpenWrt-Devel] [PATCH] Fix trx_fixup

2011-12-02 Thread Nathan Hintz
rx', 'trx_fixup' appears to assume that the TRX header is always at offset 0; which may be the cause of the problem described in Ticket #8960. If this patch is OK; I could submit a similar patch for backfire if some

[OpenWrt-Devel] [PATCH v2] Fix trx_fixup

2011-12-03 Thread Nathan Hintz
rx', 'trx_fixup' appears to assume that the TRX header is always at offset 0; which may be the cause of the problem described in Ticket #8960. If this patch is OK; I could submit a similar patch for backfire if someone wants it; might be a day or two though. v2: Modified to only do &

[OpenWrt-Devel] [PATCH] Patch File cleanup

2011-12-03 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: trunk/package/apex/patches/150-limit_ram_to_64mb.patch === --- trunk/package/apex/patches/150-limit_ram_to_64mb.patch (revision 29399) +++ trunk/package/apex/patches/150

Re: [OpenWrt-Devel] [PATCH v2] Fix trx_fixup

2011-12-07 Thread Nathan Hintz
> Date: Tue, 6 Dec 2011 23:08:36 -0500 > Subject: Re: [OpenWrt-Devel] [PATCH v2] Fix trx_fixup > From: m...@moxienet.com > To: openwrt-devel@lists.openwrt.org; nlhi...@hotmail.com > > I concur that there's something wrong with "mtd -j write", as > used by sysupgrade when preserving configurati

[OpenWrt-Devel] [PATCH] broadcom-wl compiler warning cleanup

2011-12-18 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: backfire/package/broadcom-wl/src/wlc/wlc.c === --- backfire/package/broadcom-wl/src/wlc/wlc.c (revision 29492) +++ backfire/package/broadcom-wl/src/wlc/wlc.c (working copy) @@ -499,8 +499,8

[OpenWrt-Devel] [PATCH] broadcom-wl wl_ioctl cleanup

2011-12-18 Thread Nathan Hintz
Initialize remaining "ioc" fields, and fix logic so socket "close" call is actually executed (based on wl_ioctl from trunk broadcom-wl driver). Signed-off-by: Nathan Hintz Index: backfire/package/broadco

[OpenWrt-Devel] [PATCH] BCMA - Reorder SPROM fill

2012-03-01 Thread Nathan Hintz
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it. Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.2/199-MIPS-BCM47XX-provide-sprom-to-bcma-bus.patch

[OpenWrt-Devel] [PATCH] BCMA - Account for variable PCI memory base/size

2012-03-01 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.2/0040-bcma-add-PCIe-host-controller.patch === --- target/linux/brcm47xx/patches-3.2/0040-bcma-add-PCIe-host-controller.patch (revision 30770) +++ target/linux

[OpenWrt-Devel] [PATCH] BCMA - Find names of non BCM cores

2012-03-01 Thread Nathan Hintz
Support recognition of MIPS 74K CPU, etc. [0.00] bcma: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0) Signed-off-by: Nathan Hintz --- /dev/null 2012-02-21 01:00:44.969496803 -0800 +++ target/linux/brcm47xx/patches-3.2/0050-bcma-find-name-for-non-brcm.patch

[OpenWrt-Devel] [PATCH] BCMA - Enable use of IRQ6

2012-03-01 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- /dev/null 2012-02-21 01:00:44.969496803 -0800 +++ target/linux/brcm47xx/patches-3.2/0051-bcma-enable-irq6.patch 2011-07-25 11:20:35.030008484 -0700 @@ -0,0 +1,29 @@ +--- a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c +@@ -74,7 +74,7

Re: [OpenWrt-Devel] [PATCH] BCMA - Find names of non BCM cores

2012-03-02 Thread Nathan Hintz
On Fri, 2012-03-02 at 10:20 +0100, Rafał Miłecki wrote: > 2012/3/2 Nathan Hintz : > > Support recognition of MIPS 74K CPU, etc. > > > > [0.00] bcma: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev > > 0x01, class 0x0) > > > > Signed-off-by: Nathan

Re: [OpenWrt-Devel] [PATCH] BCMA - Enable use of IRQ6

2012-03-02 Thread Nathan Hintz
Hi Hauke, On Sat, 2012-03-03 at 00:06 +0100, Hauke Mehrtens wrote: > On 03/02/2012 06:36 AM, Nathan Hintz wrote: > > > > Signed-off-by: Nathan Hintz > > > > --- /dev/null 2012-02-21 01:00:44.969496803 -0800 > > +++ target/linux/brcm47xx/patches-3.2/0051-b

Re: [OpenWrt-Devel] [PATCH] BCMA - Reorder SPROM fill

2012-03-02 Thread Nathan Hintz
On Fri, 2012-03-02 at 21:13 +0100, Hauke Mehrtens wrote: > On 03/02/2012 06:01 AM, Nathan Hintz wrote: > > The SPROM is initialized in bcm47xx_fill_sprom, so move the call to > > bcm47xx_fill_sprom_ethernet after it. > > > > Signed-off-by: Nathan Hintz > > >

Re: [OpenWrt-Devel] [PATCH] BCMA - Enable use of IRQ6

2012-03-03 Thread Nathan Hintz
On Fri, 2012-03-02 at 19:23 -0800, Nathan Hintz wrote: > Hi Hauke, > > On Sat, 2012-03-03 at 00:06 +0100, Hauke Mehrtens wrote: > > On 03/02/2012 06:36 AM, Nathan Hintz wrote: > > > > > > Signed-off-by: Nathan Hintz > > > > > > --

[OpenWrt-Devel] [PATCH v2] BCMA - Reorder SPROM fill

2012-03-04 Thread Nathan Hintz
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it. Changes since v1: Redesigned patch to move initialization of sprom from "bcm47xx_fill_sprom" to calling functions, instead of reordering. Signed-off-by: Nathan Hintz Inde

Re: [OpenWrt-Devel] [PATCH] BCMA - Find names of non BCM cores

2012-03-04 Thread Nathan Hintz
manufacturer ID's as another element in the device_names table, but then tumbled to this (smaller footprint/more efficient). Thanks, Nathan On Thu, 2012-03-01 at 21:17 -0800, Nathan Hintz wrote: > Support recognition of MIPS 74K CPU, etc. > > [0.00] bcma: Core 3 found: M

Re: [OpenWrt-Devel] [PATCH] 802.11n support for broadcom-wl

2012-03-05 Thread Nathan Hintz
On Mon, 2012-03-05 at 19:20 +0100, Łukasz Kwestarz wrote: > Patch probably adds also support for 802.11a mode (not tested), fixes some > issues in iwinfo lib and not working WIFI activity led on WRT150N v1.1. > Please review it carefully, it was my first time with ash and I haven't been > using C

Re: [OpenWrt-Devel] [PATCH] LuCI 802.11n support for broadcom-wl

2012-03-05 Thread Nathan Hintz
On Mon, 2012-03-05 at 19:30 +0100, Łukasz Kwestarz wrote: > Patch fixes also issue with order of options with dependencies. > Please as previous patch, review it carefully, it was my first time with > lua:). > > Signed-off-by: Łukasz Kwestarz > > Index: modules/admin-full/luasrc/model/cbi/admin

[OpenWrt-Devel] [PATCH] BCMA - Always map 4 bytes

2012-03-16 Thread Nathan Hintz
This probably doesn't matter, but reads/writes are always 4 bytes, so always map 4 bytes. Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.2/044-bcma-add-PCIe-host-controller.patch === --- target/linux/brc

[OpenWrt-Devel] [PATCH] BCMA - Consolidate/reduce code in bcma_device_name

2012-03-16 Thread Nathan Hintz
Eliminate unneeded procedure by incorporating code into bcma_device_name Signed-off-by: Nathan Hintz Index: target/linux/brcm47xx/patches-3.2/230-bcma-find-name-for-non-brcm.patch === --- target/linux/brcm47xx/patches-3.2/230-bcma

[OpenWrt-Devel] [PATCH v2] BCMA - Always map 4 bytes

2012-03-23 Thread Nathan Hintz
This probably doesn't matter, but reads/writes are always 4 bytes, so always map 4 bytes. Changes since v1: Moved changes to new patch file (234-bcma-always-map-4-bytes.patch). Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.2/234-bcma-always-map-4-bytes.

[OpenWrt-Devel] [PATCH v2] BCMA - Enable use of IRQ6

2012-03-23 Thread Nathan Hintz
Changes since v1: Patch file renamed (235-bcma-enable-irq6.patch). Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.2/235-bcma-enable-irq6.patch @@ -0,0 +1,29 @@ +--- a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c +@@ -75,7 +75,7

[OpenWrt-Devel] [PATCH] BCMA - Reduce code for MDIO access

2012-03-23 Thread Nathan Hintz
Reduce code for MDIO access. Signed-off-by: Nathan Hintz --- /dev/null +++ target/linux/brcm47xx/patches-3.2/236-bcma-reduce-mdio-ops.patch @@ -0,0 +1,103 @@ +--- a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c +@@ -57,10 +57,10 @@ static void bcma_pcie_mdio_set_phy(struc

<    1   2   3   >