diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2008-09-19 14:56:02 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-25 04:47:54 +0400 |
commit | f1d58672de4e89478e0b02ea8fd1f60eb0626457 (patch) | |
tree | 799abbf3cdcde954ceff2008fe907c3a7dfaabf9 /drivers/s390 | |
parent | ae19161e28a7b48d2752eff3ac8eb7703986c313 (diff) | |
download | linux-f1d58672de4e89478e0b02ea8fd1f60eb0626457.tar.xz |
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 3ac3cc1e03cc..573b5e564edd 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -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 " |