Commit f1d58672 authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik

qeth: use firmware MAC-address for layer2 hsi-devices

Real HiperSocket devices in layer2 mode have a firmware-created
MAC-address. This change enables the qeth driver to use this
firmware MAC-address for layer2 HiperSocket devices.
Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ae19161e
...@@ -559,7 +559,8 @@ static int qeth_l2_request_initial_mac(struct qeth_card *card) ...@@ -559,7 +559,8 @@ static int qeth_l2_request_initial_mac(struct qeth_card *card)
"device %s: x%x\n", CARD_BUS_ID(card), rc); "device %s: x%x\n", CARD_BUS_ID(card), rc);
} }
if (card->info.guestlan) { if ((card->info.type == QETH_CARD_TYPE_IQD) ||
(card->info.guestlan)) {
rc = qeth_setadpparms_change_macaddr(card); rc = qeth_setadpparms_change_macaddr(card);
if (rc) { if (rc) {
QETH_DBF_MESSAGE(2, "couldn't get MAC address on " QETH_DBF_MESSAGE(2, "couldn't get MAC address on "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment