linux/drivers/s390
Julian Wiedmann b144b99fff 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>
2018-11-08 17:22:23 -08:00
..
block s390 updates for the 4.20 merge window 2018-10-23 11:14:47 +01:00
char mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
cio mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
crypto KVM updates for v4.20 2018-10-25 17:57:35 -07:00
net s390/qeth: utilize virtual MAC for Layer2 OSD devices 2018-11-08 17:22:23 -08:00
scsi s390/dasd,zfcp: fix gcc 8 stringop-truncation warnings 2018-07-02 11:24:52 +02:00
virtio mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
Makefile