summaryrefslogtreecommitdiff
path: root/package/switch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-14 03:37:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-14 03:37:40 +0000
commit513c273d00185846c15eb42d6a7c04aa789a84bb (patch)
treeda9582cdc0be897c7ad0e9db56a36d155ea28630 /package/switch
parente7a1c344d4f6dbcb7ebb8a284f301dfd7522eff1 (diff)
fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312, #1451
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/switch')
-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 d46f8ff3f2..009781dc00 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;