|
@@ -1219,9 +1219,6 @@ static int lpc_eth_open(struct net_device *ndev)
|
|
|
if (netif_msg_ifup(pldat))
|
|
|
dev_dbg(&pldat->pdev->dev, "enabling %s\n", ndev->name);
|
|
|
|
|
|
- if (!is_valid_ether_addr(ndev->dev_addr))
|
|
|
- return -EADDRNOTAVAIL;
|
|
|
-
|
|
|
__lpc_eth_clock_enable(pldat, true);
|
|
|
|
|
|
/* Reset and initialize */
|
|
@@ -1301,6 +1298,7 @@ static const struct net_device_ops lpc_netdev_ops = {
|
|
|
.ndo_set_rx_mode = lpc_eth_set_multicast_list,
|
|
|
.ndo_do_ioctl = lpc_eth_ioctl,
|
|
|
.ndo_set_mac_address = lpc_set_mac_address,
|
|
|
+ .ndo_validate_addr = eth_validate_addr,
|
|
|
.ndo_change_mtu = eth_change_mtu,
|
|
|
};
|
|
|
|