]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
netdev: missing validate_address hooks
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 9 Jan 2009 10:45:37 +0000 (10:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2009 08:06:42 +0000 (00:06 -0800)
Some devices were converted incorrectly and are missing the validate
address hooks.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/acenic.c
drivers/net/arm/ks8695net.c
drivers/net/mlx4/en_netdev.c

index 5b396ff6c83f24d4749cd29f1b975d5cec8b42ad..9589d620639d7ee6a7e04000d617873ffb0d1c45 100644 (file)
@@ -460,6 +460,7 @@ static const struct net_device_ops ace_netdev_ops = {
        .ndo_get_stats          = ace_get_stats,
        .ndo_start_xmit         = ace_start_xmit,
        .ndo_set_multicast_list = ace_set_multicast_list,
+       .ndo_validate_addr      = eth_validate_addr,
        .ndo_set_mac_address    = ace_set_mac_addr,
        .ndo_change_mtu         = ace_change_mtu,
 #if ACENIC_DO_VLAN
index 9ad22d1b00fd681d3ee7d1ade6fc2a81d196b669..1cf2f949c0b4d3f60c75b63399a64aa39f9c5f3d 100644 (file)
@@ -1357,6 +1357,7 @@ static const struct net_device_ops ks8695_netdev_ops = {
        .ndo_start_xmit         = ks8695_start_xmit,
        .ndo_tx_timeout         = ks8695_timeout,
        .ndo_set_mac_address    = ks8695_set_mac,
+       .ndo_validate_addr      = eth_validate_addr,
        .ndo_set_multicast_list = ks8695_set_multicast,
 };
 
index 15bb38d99304466524864f4c63df6aac9a6aaffb..9f6644a440304e756822119142dd0602e0c7ccc1 100644 (file)
@@ -952,6 +952,7 @@ static const struct net_device_ops mlx4_netdev_ops = {
        .ndo_get_stats          = mlx4_en_get_stats,
        .ndo_set_multicast_list = mlx4_en_set_multicast,
        .ndo_set_mac_address    = mlx4_en_set_mac,
+       .ndo_validate_addr      = eth_validate_addr,
        .ndo_change_mtu         = mlx4_en_change_mtu,
        .ndo_tx_timeout         = mlx4_en_tx_timeout,
        .ndo_vlan_rx_register   = mlx4_en_vlan_rx_register,