aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: fix network failsafe indicationHauke Mehrtens2014-01-121-28/+7
| | | | | | | | | | | Remove the code used on the old switch driver. The Ethernet drive is loaded as a module and needs some time to get up therefor we added some wait function. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix switch handlingHauke Mehrtens2013-07-141-0/+10
| | | | | | | | | | | | | | | | | This fixes some problems with the switch handling * It now send the messages again to indicate a button for failsafe mode should be pressed * it does not leak packages between wan and lan any more * the switch works again in normal mode The Ethernet connection has to be up when the switch driver switch-robo is insmoded therefor we just do it again. Explicitly set enable_vlan to prevent leaking packages. This should close #13869, #13868 and #13716 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: do not load the kernel modules needed for Ethernet manuallyHauke Mehrtens2013-07-141-8/+0
| | | | | | | | add the boot flag to make the kernel modules needed for Ethernet and diag load on startup. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: dont manually insmod switch driversJohn Crispin2013-06-211-4/+0
| | | | | | Signed-off-by: John Crispin <bloic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve cpuport detection for filesafeHauke Mehrtens2013-02-161-13/+9
| | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Failsafe support for Linksys E3000V1 / WRT610NV2Hauke Mehrtens2013-02-041-0/+1
| | | | | | | | | | | | | | Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2 in /lib/preinit/05_init_interfaces_brcm. The list of devices will need to be expanded. Is there a way to determine the correct cpu_port to use in a generic sense; for instance, if "/proc/switch/eth0/port/8" 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 <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵Hauke Mehrtens2013-01-271-0/+2
| | | | | | for failsafe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add bgmac driverHauke Mehrtens2013-01-031-0/+1
| | | | | | | | | | This Ethernet driver is in early development stage and still has some problems. This was working on my bcm4716 based device. Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build b44 as a moduleHauke Mehrtens2013-01-031-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: run ifup before starting the switchHauke Mehrtens2013-01-031-2/+2
| | | | | | | In addition check_module is not needed, nobody checks the return value. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve suppressing printing if a module was found in preinit ↵Hauke Mehrtens2012-12-141-1/+1
| | | | | | | | | function. Thank you Bastian Bittorf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: suppress printing if a module was found in preinit function.Hauke Mehrtens2012-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.koHauke Mehrtens2012-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: whitespace cleanupsHauke Mehrtens2012-11-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add back the base-files/image code from brcm-2.4 to brcm47xxFelix Fietkau2010-06-261-0/+37
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73