X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fnet%2Fhp-plus.c;h=0486cbe01adbc6195dcd8c4d186227f0cc4406d8;hb=edb35028e40515beb2f94808aff8b3e71fb9f35a;hp=b507dbc16e62adc5dfb8eaf3b8bfc66ed86b9a95;hpb=7d8a804c594b61a05c698126165b5dc417d94a0f;p=mv-sheeva.git diff --git a/drivers/net/hp-plus.c b/drivers/net/hp-plus.c index b507dbc16e6..0486cbe01ad 100644 --- a/drivers/net/hp-plus.c +++ b/drivers/net/hp-plus.c @@ -166,6 +166,7 @@ static const struct net_device_ops hpp_netdev_ops = { .ndo_get_stats = eip_get_stats, .ndo_set_multicast_list = eip_set_multicast_list, .ndo_validate_addr = eth_validate_addr, + .ndo_set_mac_address = eth_mac_addr, .ndo_change_mtu = eth_change_mtu, #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = eip_poll, @@ -466,7 +467,7 @@ init_module(void) if (this_dev != 0) break; /* only autoprobe 1st one */ printk(KERN_NOTICE "hp-plus.c: Presently autoprobing (not recommended) for a single card.\n"); } - dev = alloc_ei_netdev(); + dev = alloc_eip_netdev(); if (!dev) break; dev->irq = irq[this_dev];