Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cdrom: mark CDROMGETSPINDOWN/CDROMSETSPINDOWN obsolete

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>

authored by

Paul Gortmaker and committed by
Jens Axboe
8fa10ee1 03fea699

+7 -1
+6
Documentation/userspace-api/ioctl/cdrom.rst
··· 718 718 719 719 720 720 CDROMGETSPINDOWN 721 + Obsolete, was ide-cd only 722 + 723 + 721 724 usage:: 722 725 723 726 char spindown; ··· 739 736 740 737 741 738 CDROMSETSPINDOWN 739 + Obsolete, was ide-cd only 740 + 741 + 742 742 usage:: 743 743 744 744 char spindown
+1 -1
include/uapi/linux/cdrom.h
··· 103 103 #define CDROMREADALL 0x5318 /* read all 2646 bytes */ 104 104 105 105 /* 106 - * These ioctls are (now) only in ide-cd.c for controlling 106 + * These ioctls were only in (now removed) ide-cd.c for controlling 107 107 * drive spindown time. They should be implemented in the 108 108 * Uniform driver, via generic packet commands, GPCMD_MODE_SELECT_10, 109 109 * GPCMD_MODE_SENSE_10 and the GPMODE_POWER_PAGE...