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: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
ae19161e28
commit
f1d58672de
@ -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);
|
||||
}
|
||||
|
||||
if (card->info.guestlan) {
|
||||
if ((card->info.type == QETH_CARD_TYPE_IQD) ||
|
||||
(card->info.guestlan)) {
|
||||
rc = qeth_setadpparms_change_macaddr(card);
|
||||
if (rc) {
|
||||
QETH_DBF_MESSAGE(2, "couldn't get MAC address on "
|
||||
|
Loading…
Reference in New Issue
Block a user