Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13609
b: refs/heads/master
c: d375747
h: refs/heads/master
i:
  13607: 892817f
v: v3
  • Loading branch information
Christoph Hellwig authored and Jeff Garzik committed Nov 9, 2005
1 parent 69fc2d3 commit 7c97dfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76f2b4d98c3d6a88a260275acbede99c23a24d60
refs/heads/master: d3757472841cddfa2f905d1de76fabf1b98cfc1a
33 changes: 0 additions & 33 deletions trunk/arch/xtensa/platform-iss/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,38 +611,6 @@ static int iss_net_change_mtu(struct net_device *dev, int new_mtu)
return -EINVAL;
}

static int iss_net_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
#if 0
static const struct ethtool_drvinfo info = {
.cmd = ETHTOOL_GDRVINFO,
.driver = DRIVER_NAME,
.version = "42",
};
void *useraddr;
u32 ethcmd;

switch (cmd) {
case SIOCETHTOOL:
useraddr = ifr->ifr_data;
if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd)))
return -EFAULT;

switch (ethcmd) {
case ETHTOOL_GDRVINFO:
if (copy_to_user(useraddr, &info, sizeof(info)))
return -EFAULT;
return 0;
default:
return -EOPNOTSUPP;
}
default:
return -EINVAL;
}
#endif
return -EINVAL;
}

void iss_net_user_timer_expire(unsigned long _conn)
{
}
Expand Down Expand Up @@ -730,7 +698,6 @@ static int iss_net_configure(int index, char *init)
dev->tx_timeout = iss_net_tx_timeout;
dev->set_mac_address = iss_net_set_mac;
dev->change_mtu = iss_net_change_mtu;
dev->do_ioctl = iss_net_ioctl;
dev->watchdog_timeo = (HZ >> 1);
dev->irq = -1;

Expand Down

0 comments on commit 7c97dfc

Please sign in to comment.