X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fswitch%2Fsrc%2Fswitch-robo.c;h=009781dc007d88411424d5a2ecda95714ba4b408;hb=23660965c9671a573d958374ce1ef0b7c5b317b8;hp=32cf2b3960306fda8f7108917e0770f4e7757f52;hpb=f52d66ff00b24111f87c274d3d7085ef2e1d27b1;p=openwrt-10.03%2F.git diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 32cf2b396..009781dc0 100644 --- a/package/switch/src/switch-robo.c +++ b/package/switch/src/switch-robo.c @@ -20,7 +20,7 @@ * 02110-1301, USA. */ -#include +#include #include #include #include @@ -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;