]> git.hungrycats.org Git - linux/commit
atm: remove dead SONET PHY ioctls
authorJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 19:44:10 +0000 (12:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 15:53:52 +0000 (08:53 -0700)
commit277fb497d1011d3a195610047e7ad9ce94a03410
tree22f653c2140c15b3bfa89b6676e818cd5c4b724c
parentb20aa9eded107bc78b7e54e64ccf79fbaeda9ecd
atm: remove dead SONET PHY ioctls

The SONET_* ioctls are SONET/SDH PHY controls that atm_dev_ioctl() and
the compat path only ever forwarded to the driver's ->ioctl() handler.
The PHY drivers that implemented them (the S/UNI library and the framers
on the removed PCI/SBUS adapters) are gone, and neither surviving driver
services them: solos-pci has no ->ioctl, and usbatm handles only
ATM_QUERYLOOP. They now uniformly return an error regardless.

Drop the SONET compat passthrough and the SONET cases in atm_dev_ioctl(),
along with the now-unused linux/sonet.h includes. The SONET_* uAPI
definitions are untouched.

Link: https://patch.msgid.link/20260615194416.752559-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/atm/ioctl.c
net/atm/resources.c