diff options
-rw-r--r-- | drivers/net/ethernet/ti/cpmac.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c index 73f74f369437..7399a52f7c26 100644 --- a/drivers/net/ethernet/ti/cpmac.c +++ b/drivers/net/ethernet/ti/cpmac.c | |||
@@ -313,19 +313,6 @@ static int mii_irqs[PHY_MAX_ADDR] = { PHY_POLL, }; | |||
313 | 313 | ||
314 | static struct mii_bus *cpmac_mii; | 314 | static struct mii_bus *cpmac_mii; |
315 | 315 | ||
316 | static int cpmac_config(struct net_device *dev, struct ifmap *map) | ||
317 | { | ||
318 | if (dev->flags & IFF_UP) | ||
319 | return -EBUSY; | ||
320 | |||
321 | /* Don't allow changing the I/O address */ | ||
322 | if (map->base_addr != dev->base_addr) | ||
323 | return -EOPNOTSUPP; | ||
324 | |||
325 | /* ignore other fields */ | ||
326 | return 0; | ||
327 | } | ||
328 | |||
329 | static void cpmac_set_multicast_list(struct net_device *dev) | 316 | static void cpmac_set_multicast_list(struct net_device *dev) |
330 | { | 317 | { |
331 | struct netdev_hw_addr *ha; | 318 | struct netdev_hw_addr *ha; |
@@ -1100,7 +1087,6 @@ static const struct net_device_ops cpmac_netdev_ops = { | |||
1100 | .ndo_tx_timeout = cpmac_tx_timeout, | 1087 | .ndo_tx_timeout = cpmac_tx_timeout, |
1101 | .ndo_set_rx_mode = cpmac_set_multicast_list, | 1088 | .ndo_set_rx_mode = cpmac_set_multicast_list, |
1102 | .ndo_do_ioctl = cpmac_ioctl, | 1089 | .ndo_do_ioctl = cpmac_ioctl, |
1103 | .ndo_set_config = cpmac_config, | ||
1104 | .ndo_change_mtu = eth_change_mtu, | 1090 | .ndo_change_mtu = eth_change_mtu, |
1105 | .ndo_validate_addr = eth_validate_addr, | 1091 | .ndo_validate_addr = eth_validate_addr, |
1106 | .ndo_set_mac_address = eth_mac_addr, | 1092 | .ndo_set_mac_address = eth_mac_addr, |