switch: improve error messages

This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt@34991 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: ROBO Switch Gigabit MII Support

I wrote this patch some time ago because I had a need for one of the
Gigabit ports (Linksys E3000) to be forced to 100FD.  This is based
on the robocfg sources included w/ the RT-N16 sources from ASUS.
Since work is progressing on a BGMAC driver that could be included in
OpenWRT, this may be useful to someone else.

In testing, forcing the speed to 10/100 or 1000 worked fine; however,
when trying to force full-duplex mode, the result was always
half-duplex.  I was not able to isolate the source of the problem
(this patch, driver or H/W limitation).  The only way I could get it
to work was to set the port to Auto, but then only advertise 100FD
(not included in this patch).

I have a modified version of the robocfg package as well, I'd have to
clean it up a little first (remove the full-duplex hack) before
submitting it if there is interest.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt@34992 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: run ifup before starting the switch

In addition check_module is not needed, nobody checks the return value.


git-svn-id: svn://svn.openwrt.org/openwrt@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: build b44 as a module


git-svn-id: svn://svn.openwrt.org/openwrt@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: add bgmac driver

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@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
broadcom-diag: add diag support for Linksys E1000 V1

This adds diag leds/buttons support for Linksys E1000 V1. It worked on
my router, however it may need some tweaking by people more familiar
with openwrt and c to make it fit for commiting.

Thank you hhm for this patch.


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