* [Patch] Correct cdrom.h comments.
@ 2000-11-30 22:43 Richard Pries
2000-11-30 23:00 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Richard Pries @ 2000-11-30 22:43 UTC (permalink / raw)
To: axboe; +Cc: Glen Gerber, linux-kernel
Jens,
The following patch corrects the comments in cdrom.h for CDROMREADRAW, CDROMREADMODE1, and CDROMREADMODE2 that erroneously refer to the cdrom_read structure. With this patch, they refer to the cdrom_msf structure.
--- /usr/src/linux-2.2.17/include/linux/cdrom.h Wed Nov 29 10:34:29 2000
+++ /usr/src/linux-2.2.17rap/include/linux/cdrom.h Thu Nov 30 14:23:32 2000
@@ -66,9 +66,9 @@
#define CDROMSUBCHNL 0x530b /* Read subchannel data
(struct cdrom_subchnl) */
#define CDROMREADMODE2 0x530c /* Read CDROM mode 2 data (2336 Bytes)
- (struct cdrom_read) */
+ (struct cdrom_msf) */
#define CDROMREADMODE1 0x530d /* Read CDROM mode 1 data (2048 Bytes)
- (struct cdrom_read) */
+ (struct cdrom_msf) */
#define CDROMREADAUDIO 0x530e /* (struct cdrom_read_audio) */
#define CDROMEJECT_SW 0x530f /* enable(1)/disable(0) auto-ejecting */
#define CDROMMULTISESSION 0x5310 /* Obtain the start-of-last-session
@@ -82,7 +82,7 @@
#define CDROMVOLREAD 0x5313 /* Get the drive's volume setting
(struct cdrom_volctrl) */
#define CDROMREADRAW 0x5314 /* read data in raw mode (2352 Bytes)
- (struct cdrom_read) */
+ (struct cdrom_msf) */
/*
* These ioctls are used only used in aztcd.c and optcd.c
*/
@@ -159,7 +159,9 @@
int lba;
};
-/* This struct is used by the CDROMPLAYMSF ioctl */
+/* This struct is used by the CDROMPLAYMSF, CDROMREADRAW, CDROMREADMODE1,
+ * and CDROMREADMODE2 ioctls.
+ */
struct cdrom_msf
{
__u8 cdmsf_min0; /* start minute */
@@ -219,8 +221,7 @@
union cdrom_addr cdte_addr;
__u8 cdte_datamode;
};
-
-/* This struct is used by the CDROMREADMODE1, and CDROMREADMODE2 ioctls */
+
struct cdrom_read
{
int cdread_lba;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Patch] Correct cdrom.h comments.
2000-11-30 22:43 [Patch] Correct cdrom.h comments Richard Pries
@ 2000-11-30 23:00 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2000-11-30 23:00 UTC (permalink / raw)
To: Richard Pries; +Cc: Glen Gerber, linux-kernel
On Thu, Nov 30 2000, Richard Pries wrote:
> Jens,
>
> The following patch corrects the comments in cdrom.h for CDROMREADRAW,
> CDROMREADMODE1, and CDROMREADMODE2 that erroneously refer to the
> cdrom_read structure. With this patch, they refer to the cdrom_msf
> structure.
Thank you, applied.
--
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-30 23:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-30 22:43 [Patch] Correct cdrom.h comments Richard Pries
2000-11-30 23:00 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox