linux-stable/drivers/net/wan/lmc
Arnd Bergmann ad7eab2ab0 net: split out ndo_siowandev ioctl
In order to further reduce the scope of ndo_do_ioctl(), move
out the SIOCWANDEV handling into a new network device operation
function.

Adjust the prototype to only pass the if_settings sub-structure
in place of the ifreq, and remove the redundant 'cmd' argument
in the process.

Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: "Jan \"Yenya\" Kasprzak" <kas@fi.muni.cz>
Cc: Kevin Curtis <kevin.curtis@farsite.co.uk>
Cc: Zhao Qiang <qiang.zhao@nxp.com>
Cc: Martin Schiller <ms@dev.tdt.de>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-x25@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-27 20:11:45 +01:00
..
lmc.h net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
lmc_debug.c net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_debug.h net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_ioctl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 426 2019-06-05 17:37:16 +02:00
lmc_main.c net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
lmc_media.c net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_proto.c net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
lmc_proto.h net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
lmc_var.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 426 2019-06-05 17:37:16 +02:00
Makefile