]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: remove .do_ioctl() callback from driver discipline
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 25 Oct 2021 09:56:51 +0000 (11:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 12:58:19 +0000 (13:58 +0100)
commit8b5f037eef4742f1b1f5a2dbffc43d9d0a0a76f7
tree5e7e49eb3205c90be1b4cacee27327bd79ad32a9
parentbc70eb659ceb521439a80221a8c7d2efef1103be
s390/qeth: remove .do_ioctl() callback from driver discipline

With commit 3924eae7618c ("qeth: use ndo_siocdevprivate") this callback
is now actually used to handle transport mode-specific _private_ ioctls.

We only have such ioctls for L3 devices. So wire up a L3-specific
.ndo_siocdevprivate() callback that handles those ioctls, and defers to
the core qeth_siocdevprivate() for all other private ioctls.

This takes the discipline one step closer to its original purpose of
providing an internal extension for the qeth_core_ccwgroup_driver.

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