switch: run cleanfile over the source code


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35577 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: improve error handling in robo_probe()


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35578 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: reset switch before using it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35579 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: the BCM5365 is a special switch and the BCM5350 or BCM5325 is the normal case.

This makes it easier to compare this code with the code from the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35580 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: reverse if else in handle_vlan_port_read()


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35581 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: fix switches with more than 6 ports

This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35582 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: improve robo_switch_enable()

This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35583 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: read and write vlan config from and to gigabit switches

This patch makes it possible to read and write the vlan config from and to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35584 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: resetting and enabling vlan write for gigabit switches

This patch makes it possible to reset and enable writing vlans to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35585 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: add support for BCM53125


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35586 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: configure vlan correctly on some recent devices.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: fix switch-config for dir-825-c1

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35588 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: fix factory image creation for dir-825-c1

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35589 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC support

Squashfs is unable to decompress some blocks without that:

[  199.494500] SQUASHFS error: xz_dec_run error, data probably corrupt
[  199.500910] SQUASHFS error: squashfs_read_data failed to read block 0xbff26
[  199.508016] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.514440] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.521311] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.527724] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.534594] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.541009] SQUASHFS error: Unable to read page, block bff26, size 153f8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35590 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: enable the squashfs driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35591 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: enable swconfig and the ar8216 driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35592 3c298f89-4303-0410-b956-a3cf2f4a3e73
firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35593 3c298f89-4303-0410-b956-a3cf2f4a3e73