]> 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)
commit73ad77592bac9aaaf3f2f5170c034fb2b0ecd736
tree107f386af20aef7f35aa762487504a4a61ddf4ed
parent6b82e3edfe0bf879122cafde04ff55cf2892ebd1
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