summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2008-04-01 10:26:57 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-16 20:41:40 -0400
commitb7624ec1cfaa1218320faa00a061b9891ed28997 (patch)
tree35ee72d11b7625ea8bb2b627333779f18bb850a6
parent128837259912087101cd336226abc7ee3e8555b5 (diff)
downloadop-kernel-dev-b7624ec1cfaa1218320faa00a061b9891ed28997.zip
op-kernel-dev-b7624ec1cfaa1218320faa00a061b9891ed28997.tar.gz
qeth: layer 3 do not allow to change mac address
hw does not allow to change the mac address. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/s390/net/qeth_l3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 1013a2a..e95220a 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -2961,6 +2961,7 @@ static int qeth_l3_setup_netdev(struct qeth_card *card)
card->dev->vlan_rx_add_vid = qeth_l3_vlan_rx_add_vid;
card->dev->vlan_rx_kill_vid = qeth_l3_vlan_rx_kill_vid;
card->dev->mtu = card->info.initial_mtu;
+ card->dev->set_mac_address = NULL;
SET_ETHTOOL_OPS(card->dev, &qeth_l3_ethtool_ops);
card->dev->features |= NETIF_F_HW_VLAN_TX |
NETIF_F_HW_VLAN_RX |
OpenPOWER on IntegriCloud