diff options
author | Julian Wiedmann | 2018-11-08 15:06:15 +0100 |
---|---|---|
committer | David S. Miller | 2018-11-09 02:22:23 +0100 |
commit | b144b99fff69a5bc0d34c8e168bedb88c68ca23d (patch) | |
tree | 31abc6fffd286165bbc55c7304ab9ceef242e4e0 /drivers/pcmcia/sa1100_simpad.c | |
parent | openvswitch: remove BUG_ON from get_dpdev (diff) | |
download | kernel-qcow2-linux-b144b99fff69a5bc0d34c8e168bedb88c68ca23d.tar.gz kernel-qcow2-linux-b144b99fff69a5bc0d34c8e168bedb88c68ca23d.tar.xz kernel-qcow2-linux-b144b99fff69a5bc0d34c8e168bedb88c68ca23d.zip |
s390/qeth: utilize virtual MAC for Layer2 OSD devices
By default, READ MAC on a Layer2 OSD device returns the adapter's
burnt-in MAC address. Given the default scenario of many virtual devices
on the same adapter, qeth can't make any use of this address and
therefore skips the READ MAC call for this device type.
But in some configurations, the READ MAC command for a Layer2 OSD device
actually returns a pre-provisioned, virtual MAC address. So enable the
READ MAC code to detect this situation, and let the L2 subdriver
call READ MAC for OSD devices.
This also removes the QETH_LAYER2_MAC_READ flag, which protects L2
devices against calling READ MAC multiple times. Instead protect the
whole call to qeth_l2_request_initial_mac().
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/sa1100_simpad.c')
0 files changed, 0 insertions, 0 deletions