Gabor Juhos
4375dae6d3
ramips: fix kmod-usb2 package name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35628
12 years ago
Gabor Juhos
62e80eba31
mpc85xx: add input drivers to default packages, and load those during preinit
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35626
12 years ago
Hauke Mehrtens
ce6a7543fe
brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
...
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 <nlhintz@hotmail.com>
SVN-Revision: 35625
12 years ago
Hauke Mehrtens
9de704a03b
brcm47xx: improve cpuport detection for filesafe
...
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.
SVN-Revision: 35624
12 years ago
Hauke Mehrtens
92d16f38d7
brcm47xx: fix network config on simpleshare
...
The included patch will generate a correct network configuration on the simpletech simpleshare.
Thank you for the patch Will Holmes (RealOpty)
This closes #12361 .
SVN-Revision: 35623
12 years ago
Hauke Mehrtens
a21ba013f5
brcm47xx: handle return values of cfe_env_get() correctly.
...
This closes #12746 .
SVN-Revision: 35622
12 years ago
Hauke Mehrtens
283bff02a2
brcm47xx: bgmac: fix unaligned accesses to network headers.
...
SVN-Revision: 35621
12 years ago
Hauke Mehrtens
5fed2916c3
brcm47xx: fix unaligned access to mac address
...
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.
This closes #9824 .
SVN-Revision: 35618
12 years ago
Hauke Mehrtens
d9580d224a
brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
...
This should fix #13000 .
SVN-Revision: 35617
12 years ago
Gabor Juhos
7f20c2e19a
update x86 generic to kernel v3.7
...
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35616
12 years ago
Gabor Juhos
7fd8525853
ramips: use the new macaddr_* helpers instead of maccalc
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35615
12 years ago
Gabor Juhos
753d713e92
ramips: use the mtd_get_mac_* helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35613
12 years ago
Jonas Gorski
dd77663fb0
kernel: add missing config options
...
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35611
12 years ago
Jonas Gorski
485e52e1d8
bcm63xx: make nvram checksum failures non fatal
...
fixes #12982 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35605
12 years ago
Gabor Juhos
162b8e23a5
kernel: update linux 3.7 to 3.7.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35604
12 years ago
Gabor Juhos
f35c369710
generic: ar8216: move PHY4 RGMII workaround code out of the loop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35603
12 years ago
Gabor Juhos
d64888ffc0
generic: ar8216: register the switch from the probe routine
...
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.
Move the switch registration into the probe routine to fix
this problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35602
12 years ago
Florian Fainelli
31dc805f88
x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35601
12 years ago
Hauke Mehrtens
c0f6c75cf7
brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
...
SVN-Revision: 35597
12 years ago
Gabor Juhos
9d86ba2ed4
mpc85xx: enable swconfig and the ar8216 driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35592
12 years ago
Gabor Juhos
6d18518e02
mpc85xx: enable the squashfs driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35591
12 years ago
Gabor Juhos
c3b3f77621
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>
SVN-Revision: 35590
12 years ago
Gabor Juhos
7484006498
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>
SVN-Revision: 35589
12 years ago
Gabor Juhos
5f10ec3c36
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>
SVN-Revision: 35588
12 years ago
Hauke Mehrtens
54ca3eed5d
brcm47xx: configure vlan correctly on some recent devices.
...
SVN-Revision: 35587
12 years ago
Hauke Mehrtens
4663d424a3
brcm47xx: add some more fixes to bgmac
...
Thank you Rafał Miłecki and Nathan Hintz
SVN-Revision: 35574
12 years ago
Hauke Mehrtens
7c0208b336
brcm47xx: update tg3 to the version send upstream
...
SVN-Revision: 35573
12 years ago
Luka Perkov
7973ef64d6
mvebu: remove boards suffix
...
SVN-Revision: 35572
12 years ago
Gabor Juhos
bae4bfe3f8
kernel: update linux 3.7 to 3.7.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35571
12 years ago
Gabor Juhos
1f9ede9cfc
ar71xx: add script for automatic switch name migration
...
Thanks to Jonas Gorski for the help.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35567
12 years ago
Felix Fietkau
2e7a4b088d
ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
...
SVN-Revision: 35564
12 years ago
Gabor Juhos
9525a075c1
ar8216: remove superfluous code from ar8216_config_init
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35562
12 years ago
Gabor Juhos
94806a13af
ar71xx: use switchX names in network configuration
...
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.
Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35561
12 years ago
Gabor Juhos
9c86d268eb
generic: ar8216: don't use ethernet device name in register_switch
...
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35560
12 years ago
Gabor Juhos
3f3eba88f6
generic: ar8216: reuse the private data from ar8216_probe
...
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35559
12 years ago
Gabor Juhos
1afb759b35
generic: ar8216: use phydev instead of pdev everywhere
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35555
12 years ago
Gabor Juhos
0b1fe07e8e
generic: ar8216: use pr_* macros for kernel messages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35554
12 years ago
Gabor Juhos
eea297884e
generic: ar8216: fix PHY features setup
...
Sujith says:
This commit breaks the WAN port on my AP96 - DHCP fails.
Reverting it fixes the issue.
commit b67cc3a0cdd02973610d4d5a63226d1c44841e94
Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri Feb 8 09:13:18 2013 +0000
generic: ar8216: simplify phy features setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73
This change restores the previous behaviour and moves
the code into the ar8216_probe function.
Reported-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>
SVN-Revision: 35549
12 years ago
Gabor Juhos
617076c613
generic: ar8216: add ar8xxx_probe_switch helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35547
12 years ago
Gabor Juhos
98b13e39ac
generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35546
12 years ago
Gabor Juhos
f97170a720
generic: ar8216: free mib counters from ar8xxx_free
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35545
12 years ago
Gabor Juhos
7924e517af
generic: ar8216: add ar8xxx_free helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35544
12 years ago
Gabor Juhos
77b3c551c4
generic: ar8216: add ar8xxx_create{,mii} helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35543
12 years ago
Gabor Juhos
5f70b1db2a
generic: ar8216: remove redundant phy address check
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35542
12 years ago
Gabor Juhos
14fd37258b
generic: ar8216: only set phy_ptr if packet mangling is used
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35541
12 years ago
Gabor Juhos
393163b098
generic: ar8216: add defines for the AR8316 POSTRIP register
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35539
12 years ago
Gabor Juhos
5ed480598d
generic: ar8216: don't probe the chip multiple times
...
It is only needed when the private data is allocated.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35538
12 years ago
Gabor Juhos
774da6c7a4
generic: ar8216: add sanity check to ar8216_probe
...
Verify that the mdio bus has PHY devices with
a supported PHY ID at address 0-4.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35537
12 years ago
Gabor Juhos
4720c75cf7
generic: ar8216: skip probe on unused PHY addresses
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35536
12 years ago
Jonas Gorski
f07a33afc2
ar71xx: register the micro sd card reader on RB493G
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35535
12 years ago