summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-14 03:37:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-14 03:37:40 +0000
commitdcfbd5f656340581e30b08dfa2ec539c4fb89e31 (patch)
treebe76658b6ad9dea8eaceaa9ec544457472186729 /package
parent53a5d4131f8971d4f4a32228e78ba1a55a0381c6 (diff)
downloadmtk-20170518-dcfbd5f656340581e30b08dfa2ec539c4fb89e31.zip
mtk-20170518-dcfbd5f656340581e30b08dfa2ec539c4fb89e31.tar.gz
mtk-20170518-dcfbd5f656340581e30b08dfa2ec539c4fb89e31.tar.bz2
fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312, #1451
SVN-Revision: 6564
Diffstat (limited to 'package')
-rw-r--r--package/switch/src/switch-robo.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c
index d46f8ff..009781d 100644
--- a/package/switch/src/switch-robo.c
+++ b/package/switch/src/switch-robo.c
@@ -221,10 +221,6 @@ static int robo_vlan5350(void)
static int robo_probe(char *devname)
{
- struct ethtool_drvinfo info;
-/*
- int i;
-*/
__u32 phyid;
printk("Probing device %s: ", devname);
@@ -235,12 +231,6 @@ static int robo_probe(char *devname)
return 1;
}
- info.cmd = ETHTOOL_GDRVINFO;
- if (do_ioctl(SIOCETHTOOL, (void *) &info) < 0) {
- printk("SIOCETHTOOL: not supported\n");
- return 1;
- }
-
/* try access using MII ioctls - get phy address */
if (do_ioctl(SIOCGMIIPHY, NULL) < 0) {
use_et = 1;