]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/qeth: consolidate some duplicated HW cmd code
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 31 Oct 2019 12:42:18 +0000 (13:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:32:59 +0000 (12:32 -0700)
commit9897d583b01525c6fb5dcaaa87263e7f395c905c
tree5e1430b9e2c4021974a1980c2af7b1a42b194cc5
parentf9ce416ac79dce142fefd24422c9bf41b60fc6cc
s390/qeth: consolidate some duplicated HW cmd code

When setting a device online, both subdrivers have the same code to
program the HW trap and Isolation mode. Move that code into a single
place.

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