summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sp5100_tco.c
diff options
context:
space:
mode:
authorJulian Wiedmann2018-11-08 15:06:15 +0100
committerDavid S. Miller2018-11-09 02:22:23 +0100
commitb144b99fff69a5bc0d34c8e168bedb88c68ca23d (patch)
tree31abc6fffd286165bbc55c7304ab9ceef242e4e0 /drivers/watchdog/sp5100_tco.c
parentopenvswitch: remove BUG_ON from get_dpdev (diff)
downloadkernel-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/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions