From dcfbd5f656340581e30b08dfa2ec539c4fb89e31 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 14 Mar 2007 03:37:40 +0000 Subject: 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 --- package/switch/src/switch-robo.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'package/switch') 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; -- cgit v1.2.3