Inline function ar8xxx_create_mii.
Signed-off-by: Heiner Kallweit
---
target/linux/generic/files/drivers/net/phy/ar8216.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/files/driver
Remove read/write/rmw member functions from ar8xxx_priv
There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx
Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
Rename r3 variable to page in ar8xxx_mii_write to make it consistent
with the other ar8xxx_mii_ functions.
Signed-off-by: Heiner Kallweit
---
.../linux/generic/files/drivers/net/phy/ar8216.c | 74 --
1 file cha
Factor out chip-specific parameters from ar8xxx_probe_switch.
Move the ar8xxx_chip definitions after the swops definitions.
Signed-off-by: Heiner Kallweit
---
.../linux/generic/files/drivers/net/phy/ar8216.c | 268 -
1 file changed, 151 insertions(+), 117 deletions(-)
diff
Remove unused function parameter in ar8327_led_register.
Signed-off-by: Heiner Kallweit
---
target/linux/generic/files/drivers/net/phy/ar8216.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/file
1/5
Remove unused function parameter in ar8327_led_register
2/5
Factor out chip-specific parameters from ar8xxx_probe_switch
3/5
Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
4/5
Remove read/write/rmw member functions from ar8xxx_priv
5/5
Inline function ar8xxx_create_mii
Hello Roberto,
thank you for your contribution. You seem to have swapped the original and
modified
source file while diffing it, but this is a not a big deal. I will test your
change
during this week and merge it if it works.
Next time please create pull request against the github telephony re
On 15 December 2014 at 06:29, John Crispin wrote:
> On 14/12/2014 21:37, Rafał Miłecki wrote:
>> 1) I've modified DT to create "ubi" MTD partition on NAND
>> 2) Wrote a simple preinit_main script creating "rootfs_data2" UBI volume
>> 3) Modified fstools to prefer rootfs_data2 over rootfs_data if i
Made changes suggested by Felix.
I'll try to put together a preliminary report on how much bloat this add
to the kernel Though this might not be that needed for home use, I
think it really adds to OpenWRT's usefulness as a set-and-forget network
wonder-appliance.
diff --git a/package/kernel/lin
Add support for Realtek r8712 and RTL8192SU family.
This patch adds support for Realtek r8712 and
RTL8188SU/RTL8191SU/RTL8192SU family of fullmac usb wireless cards.
The r8712u staging driver only supports WEXT but works with no problems
in OpenWRT.
V2: added md5sum and fixed the patch.
Signed off
Add SDIO support option for brcmfmac.
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.
Signed off by: José Vázquez Fernández
Index: package/kernel/mac80211/Makefile
===
--- package/kernel/
Add support for Realtek r8712 and RTL8192SU family.
This patch adds support for Realtek r8712 and
RTL8188SU/RTL8191SU/RTL8192SU family of fullmac usb wireless cards.
The r8712u staging driver only supports WEXT but works with no problems
in OpenWRT.
Signed off by: José Vázquez Fernández
Index:
Am 14.12.2014 um 19:42 schrieb John Crispin:
>
>
> On 14/12/2014 19:27, Christian Schoenebeck wrote:
>> Hi, I provided privoxy 3.0.22 package with scripts using procd to
>> run the service. When privoxy runs in foreground it never writes to
>> logfile. So it's required to redirect stdout and/or s
Recent builds for NSLU2 and my Alix3d2 platforms did not have a USB
controller recognized! Turns out the latest usb2 driver structure requires
the addition of kmod-usb2-pci to be added to the target config. See patch
below...
I believe this issue exists for any platform that has a USB controll
You are right. I asked it in the netfilter-devel mailing list -
libipct was never meant to be used as a public interface:
http://www.netfilter.org/documentation/FAQ/netfilter-faq-4.html#ss4.5
Meh, absent of anything else it de-facto is anyway, see e.g. squid,
miniupnpd and others using it as we
Now that there is a recognisable change in the LED blinking rate, would it be
also ok to lengthen the "failsafe waiting time" from 2 seconds to something
longer? That short time, defined in /etc/preinit, has always been one of the
headaches in entering the failsafe mode. I have lengthened it to
Hi Steven,
> afaik - and please correct me if I'm wrong - that works only for the
> iptables CLI command, however our firewall tool currently uses libiptables
> directly so I don't think it would work easily.
You are right. I asked it in the netfilter-devel mailing list -
libipct was never meant
On 12 December 2014 at 16:16, Felix Fietkau wrote:
>
> On 2014-12-05 15:36, Cristian Morales Vega wrote:
> > Avoids flooding the network with multicast data.
> >
> > Signed-off-by: Cristian Morales Vega
> > ---
> > Since I guess not all the switches support this... Good idea? Is some
> OpenWRT
>
On 15/12/2014 16:16, Felix Fietkau wrote:
> On 2014-12-14 12:02, Harald Geyer wrote:
>> nwf writes:
>>> $ gcc -v -o hello hello.c [...]
>>> /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/collect2
>>> --eh-frame-hdr -dynamic-linker /lib/ld-uClibc.so.0
>>> -X -m armelf_linux_eabi -o hello
>>> /
On 2014-12-14 12:02, Harald Geyer wrote:
> nwf writes:
>> $ gcc -v -o hello hello.c [...]
>> /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/collect2
>> --eh-frame-hdr -dynamic-linker /lib/ld-uClibc.so.0
>> -X -m armelf_linux_eabi -o hello
>> /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/cr
2014-12-12 6:33 GMT-08:00 Jonas Gorski :
> On Fri, Dec 12, 2014 at 3:17 PM, John Crispin wrote:
>>
>>
>> On 12/12/2014 15:12, Jonas Gorski wrote:
>>> or the gpio-base problem, we should be able to register appropriate
>>> platform data for it as OF_DEV_AUXDATA() in of_platform_populate.
>>>
>>> e.
Signed-off-by: Álvaro Fernández Rojas
---
v2: remove dummy CS for devices with 74HC164 and fix HG520v inet LED
diff --git a/target/linux/brcm63xx/dts/a226g.dts
b/target/linux/brcm63xx/dts/a226g.dts
index 9aff81b..0c26c7b 100644
--- a/target/linux/brcm63xx/dts/a226g.dts
+++ b/target/linux/brcm63x
Signed-off-by: Álvaro Fernández Rojas
---
diff --git
a/target/linux/brcm63xx/patches-3.14/376-DT-SPI-GPIO-no-cs-backport.patch
b/target/linux/brcm63xx/patches-3.14/376-DT-SPI-GPIO-no-cs-backport.patch
new file mode 100644
index 000..b289d5c
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3
Signed-off-by: Álvaro Fernández Rojas
---
v2: keep changes minimal as suggested by Jonas
diff --git a/target/linux/brcm63xx/patches-3.14/375-DT-GPIO-over-legacy.patch
b/target/linux/brcm63xx/patches-3.14/375-DT-GPIO-over-legacy.patch
new file mode 100644
index 000..8c9bfc8
--- /dev/null
+++
Signed-off-by: Álvaro Fernández Rojas
---
v2: use vendor for DT properties.
diff --git a/target/linux/brcm63xx/config-3.14
b/target/linux/brcm63xx/config-3.14
index dd27f47..f94c567 100644
--- a/target/linux/brcm63xx/config-3.14
+++ b/target/linux/brcm63xx/config-3.14
@@ -76,6 +76,7 @@ CONFIG_GE
Yes, it's a wiki but I'll let someone higher up the food chain fix this:
http://wiki.openwrt.org/doc/uci#usage
wherein neither the command usage output nor the table of UCI
subcommands mentions either "del_list" or "reorder."
rday
___
openwrt-dev
On Sat, Dec 13, 2014 at 07:50:52PM +0100, Jonas Gorski wrote:
> > Ok, I think most of it is because of options enabled by default. I
> > wonder why that happens, but I also wonder why it hasn't been picked
> > up by my tests.
>
> I already somewhat expected that.
>
> So make savedefconfig then li
This will allow simple sysupgrade-s including simpler reverting to the
original firmware.
Signed-off-by: Rafał Miłecki
---
.../brcm47xx/base-files/lib/upgrade/platform.sh| 33 ++
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/target/linux/brcm47xx/base-fil
On 15/12/2014 12:15, Rafał Miłecki wrote:
> On 14 December 2014 at 23:00, Rafał Miłecki wrote:
>> This new argument is used right after starting regular preinit (which
>> happens if failsafe wasn't triggered). The main purpose of "preinit"
>> argument is to indicate that failsafe can be triggere
On 14 December 2014 at 23:00, Rafał Miłecki wrote:
> This new argument is used right after starting regular preinit (which
> happens if failsafe wasn't triggered). The main purpose of "preinit"
> argument is to indicate that failsafe can be triggered, however we were
> missing a way to inform user
On Mon, Dec 15, 2014 at 11:09 AM, Maxime Ripard wrote:
> On Sat, Dec 13, 2014 at 07:50:52PM +0100, Jonas Gorski wrote:
>> One other thing I just noticed: this currently makes "make
>> kernel_*config" unusable. "make kernel_oldconfig" will ask about about
>> everything that is at its defaultvalue, w
On Sat, Dec 13, 2014 at 07:50:52PM +0100, Jonas Gorski wrote:
> > Ok, I think most of it is because of options enabled by default. I
> > wonder why that happens, but I also wonder why it hasn't been picked
> > up by my tests.
>
> I already somewhat expected that.
>
> So make savedefconfig then li
Signed-off-by: Yousong Zhou
---
delta.c | 85 ++-
1 file changed, 46 insertions(+), 39 deletions(-)
diff --git a/delta.c b/delta.c
index 556250d..cdd46bc 100644
--- a/delta.c
+++ b/delta.c
@@ -66,6 +66,35 @@ uci_free_delta(struct uci
Signed-off-by: Yousong Zhou
---
uci_internal.h |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/uci_internal.h b/uci_internal.h
index 89863f1..cb8f86c 100644
--- a/uci_internal.h
+++ b/uci_internal.h
@@ -227,10 +227,10 @@ struct uci_backend _var = { \
Signed-off-by: Yousong Zhou
---
delta.c | 64 +++
uci.h |6 ++
2 files changed, 25 insertions(+), 45 deletions(-)
diff --git a/delta.c b/delta.c
index 2eb2ae7..556250d 100644
--- a/delta.c
+++ b/delta.c
@@ -95,34 +95,29 @@
Signed-off-by: Yousong Zhou
---
delta.c |2 ++
uci.h |2 ++
2 files changed, 4 insertions(+)
diff --git a/delta.c b/delta.c
index 082633b..b56df5b 100644
--- a/delta.c
+++ b/delta.c
@@ -87,6 +87,8 @@ int uci_add_delta_path(struct uci_context *ctx, const char
*dir)
UCI_HANDL
Signed-off-by: Yousong Zhou
---
delta.c | 25 ++---
file.c |9 +++--
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/delta.c b/delta.c
index b56df5b..2eb2ae7 100644
--- a/delta.c
+++ b/delta.c
@@ -95,11 +95,14 @@ int uci_add_delta_path(struct uci_c
Signed-off-by: Yousong Zhou
---
cli.c | 40 ++--
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/cli.c b/cli.c
index 6fbbfe9..85a24d8 100644
--- a/cli.c
+++ b/cli.c
@@ -168,18 +168,36 @@ static void cli_perror(void)
uci_perror(ctx, ap
Signed-off-by: Yousong Zhou
---
test/references/add_list_changes.result |4 ++
test/references/add_list_config.result |6 +++
test/references/add_list_show.result |3 ++
test/references/del_list_config.result |5 +++
test/references/del_li
Signed-off-by: Yousong Zhou
---
test/references/revert_option.result |3 +++
test/references/revert_option_multiline.result |2 ++
test/tests.d/070_revert| 28
3 files changed, 33 insertions(+)
create mode 100644 test/referenc
Signed-off-by: Yousong Zhou
---
test/references/batch_set.result |9 +
test/tests.d/060_batch | 17 +
2 files changed, 26 insertions(+)
create mode 100644 test/references/batch_set.result
create mode 100644 test/tests.d/060_batch
diff --git a/test/refer
Signed-off-by: Yousong Zhou
---
test/tests.d/020_get |1 -
1 file changed, 1 deletion(-)
diff --git a/test/tests.d/020_get b/test/tests.d/020_get
index 7fd30ba..630d84d 100644
--- a/test/tests.d/020_get
+++ b/test/tests.d/020_get
@@ -35,7 +35,6 @@ test_get_option_multiline()
{
cp $
Signed-off-by: Yousong Zhou
---
test/references/show_parsing_multiline.data| 20 +
.../show_parsing_multiline_option.result | 12
.../show_parsing_multiline_package.result | 18
.../show_parsing_multiline_section.result
- Remove deprecated uci-static and ucimap-example from .gitignore.
- Minor code formatting fix.
Signed-off-by: Yousong Zhou
---
.gitignore |2 --
file.c |2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index c3e50e0..0407feb 100644
--- a/
This patch set mainly tries to
- Add test more cases with multiline option value and quotes in mind.
- Fix issues of uci show, revert, add_list, del_list, batch commands.
My previous patch set for adding support for multiline option value support to
UCI parser was not complete causing many unex
45 matches
Mail list logo