aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
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
commit9a1beb72da81192873e8a18adc33d978725ede30 (patch)
treeda9582cdc0be897c7ad0e9db56a36d155ea28630 /package/switch
parenta091fb867b3df7eda357e216d4d5bbcacac9eb07 (diff)
downloadupstream-9a1beb72da81192873e8a18adc33d978725ede30.tar.gz
upstream-9a1beb72da81192873e8a18adc33d978725ede30.tar.bz2
upstream-9a1beb72da81192873e8a18adc33d978725ede30.zip
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;