cdrom: mark CDROMGETSPINDOWN/CDROMSETSPINDOWN obsolete
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 15 May 2022 20:58:31 +0000 (21:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 May 2022 00:31:28 +0000 (18:31 -0600)
These were only implemented by the IDE CD driver, which has since
been removed.  Given that nobody is likely to create new CD/DVD
hardware (and associated drivers) we can mark these appropriately.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Link: https://lore.kernel.org/all/20220427132436.12795-3-paul.gortmaker@windriver.com
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20220515205833.944139-4-phil@philpotter.co.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/userspace-api/ioctl/cdrom.rst
include/uapi/linux/cdrom.h

index 682948fc88a34a42a647bc90dae310c1ee6c5803..2ad91dbebd7cb61e0056421c5ab117bb4e5a00cb 100644 (file)
@@ -718,6 +718,9 @@ CDROMPLAYBLK
 
 
 CDROMGETSPINDOWN
+       Obsolete, was ide-cd only
+
+
        usage::
 
          char spindown;
@@ -736,6 +739,9 @@ CDROMGETSPINDOWN
 
 
 CDROMSETSPINDOWN
+       Obsolete, was ide-cd only
+
+
        usage::
 
          char spindown
index 804ff8d98f710c873c4876fcf3d6878cec4728f5..011e594e4a0da66f652dc77c8a468aa815591c65 100644 (file)
 #define CDROMREADALL           0x5318  /* read all 2646 bytes */
 
 /* 
- * These ioctls are (now) only in ide-cd.c for controlling 
+ * These ioctls were only in (now removed) ide-cd.c for controlling
  * drive spindown time.  They should be implemented in the
  * Uniform driver, via generic packet commands, GPCMD_MODE_SELECT_10,
  * GPCMD_MODE_SENSE_10 and the GPMODE_POWER_PAGE...