]> git.neil.brown.name Git - history.git/commit
[PATCH] Documentation for IDE and CDROM ioctls
authorEdward Falk <efalk@google.com>
Wed, 1 Dec 2004 09:11:14 +0000 (01:11 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 1 Dec 2004 09:11:14 +0000 (01:11 -0800)
commit17935c9f4c3767f58bae5d4aa29ab5d326dca18c
tree7d1ca68455c68781fbac7c479f1f04c783658ca9
parent41beabcb6af9adc7ade492ebe1741f5ea4370d09
[PATCH] Documentation for IDE and CDROM ioctls

I've written two document files, and packaged them as a patch.

Two things caught my eye while I was writing this up:

The header comments for CDROMREADRAW, CDROMREADMODE1, and CDROMREADMODE2
disagree with the actual source code.  The header comments imply that a
cdrom_read structure is used to pass data, but the source code actually
reads a cdrom_msf structure and then overwrites it with raw data.  I'm not
sure if there's a bug in the header comments, in the driver source, or I
misread something.

The CDROM_LOCKDOOR ioctl seems to lock/unlock all doors on all drives,
because it uses a global variable.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/ioctl/cdrom.txt [new file with mode: 0644]
Documentation/ioctl/hdio.txt [new file with mode: 0644]