]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: enable/disable the HW trap a little earlier
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 28 Feb 2019 17:59:37 +0000 (18:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 20:55:25 +0000 (12:55 -0800)
commit02f4f659a3d958a2ffea6cb48255b0698beea0cd
tree107f386af20aef7f35aa762487504a4a61ddf4ed
parenta58d304fcf277a9baf4a3605e2f1900b2879766f
s390/qeth: enable/disable the HW trap a little earlier

When setting a L2 qeth device online, enable the HW trap as soon as the
control plane is available. This allows us to catch any error that
occurs during the very first commands.

In the same spirit, the offline code should disable the HW trap as the
very first step of its processing.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c