summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@de.ibm.com>2008-09-19 12:56:02 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 20:47:54 -0400
commitf1d58672de4e89478e0b02ea8fd1f60eb0626457 (patch)
tree799abbf3cdcde954ceff2008fe907c3a7dfaabf9 /drivers/s390
parentae19161e28a7b48d2752eff3ac8eb7703986c313 (diff)
downloadlinux-f1d58672de4e89478e0b02ea8fd1f60eb0626457.tar.gz
linux-f1d58672de4e89478e0b02ea8fd1f60eb0626457.tar.bz2
linux-f1d58672de4e89478e0b02ea8fd1f60eb0626457.zip
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.c3
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 "