summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: do not use vlan0 any more.hauke2013-02-202-3/+3
| | | | | | | | | | 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
* brcm47xx: improve cpuport detection for filesafehauke2013-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 / WRT610NV2hauke2013-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 ↵hauke2013-01-271-0/+2
| | | | | | for failsafe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add bgmac driverhauke2013-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 modulehauke2013-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 switchhauke2013-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
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵mirko2012-12-191-1/+1
| | | | | | /lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not overload mount-call - trying to reduce confusionmirko2012-12-191-1/+1
| | | | | | | | | | | 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
* brcm47xx: improve suppressing printing if a module was found in preinit ↵hauke2012-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.hauke2012-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.kohauke2012-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: whitespace cleanupshauke2012-11-257-16/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: activate failsafe on all ports of the switch and not just port 0.hauke2012-09-251-1/+1
| | | | | | | | | | | | 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
* [brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diagcshore2010-07-151-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add back the base-files/image code from brcm-2.4 to brcm47xxnbd2010-06-268-0/+148
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73