summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/lib
AgeCommit message (Collapse)Author
2013-07-14brcm47xx: fix switch handlinghauke
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
2013-07-14brcm47xx: do not load the kernel modules needed for Ethernet manuallyhauke
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
2013-07-14brcm47xx: do not change nvram without user interactionhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13brcm47xx: proc gets mounted without this patchhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13brcm47xx: remove obsolete hotplug stuffhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21brcm47xx: dont manually insmod switch driversblogic
Signed-off-by: John Crispin <bloic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20brcm47xx: do not use vlan0 any more.hauke
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325. This makes OpenWrt always use vlan1 and vlan2 instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16brcm47xx: improve cpuport detection for filesafehauke
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
2013-02-04Add Failsafe support for Linksys E3000V1 / WRT610NV2hauke
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
2013-01-27brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵hauke
for failsafe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03brcm47xx: add bgmac driverhauke
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
2013-01-03brcm47xx: build b44 as a modulehauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03brcm47xx: run ifup before starting the switchhauke
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
2012-12-19Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵mirko
/lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19Do not overload mount-call - trying to reduce confusionmirko
The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14brcm47xx: improve suppressing printing if a module was found in preinit ↵hauke
function. Thank you Bastian Bittorf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13brcm47xx: suppress printing if a module was found in preinit function.hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13kernel: in kernel 3.6.8 and later tg3 depends on hwmon.kohauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25brcm47xx: whitespace cleanupshauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25[brcm47xx]: activate failsafe on all ports of the switch and not just port 0.hauke
Sometimes the port 0 was the WAN port or there could be some device where the port 0 is not wired to an actual Ethernet port. Now telnet in failsafe will listen on all ports of the switch so user do not have to search for the correct port any more. This change will make the switch leak traffic between the WAN and the LAN port, but you should not use failsafe while connected to a untrusted network. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15[brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diagcshore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26add back the base-files/image code from brcm-2.4 to brcm47xxnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73