* Re: [PATCH] kill two scsi ioctls
@ 2003-04-10 17:29 Andries.Brouwer
2003-04-10 18:26 ` John Levon
0 siblings, 1 reply; 4+ messages in thread
From: Andries.Brouwer @ 2003-04-10 17:29 UTC (permalink / raw)
To: Andries.Brouwer, levon; +Cc: linux-kernel, linux-scsi, torvalds
On Thu, Apr 10, 2003 at 06:33:26PM +0200, Andries.Brouwer@cwi.nl wrote:
> The definition for SCSI_IOCTL_BENCHMARK_COMMAND was added in 1.1.2.
> The definition for SCSI_IOCTL_SYNC was added in 1.1.38.
> Neither of them has ever been used.
Can't you at least add a comment about what was there ? It's quite
annoying to come across :
#define FOO 1
#define BAR 2
#define BAZ 5
and have no idea why
It happens all the time. Hundreds of cases.
I prefer a short and clean actual kernel source, and long
historical explanations somewhere else, for example in
Documentation/ioctl_list.
(Michael Elizabeth Chastain made ioctl_list.2 a man page,
but nobody keeps it up-to-date. The current version is from
1.3.27. I am updating it and expect to submit it for the
Documentation directory. Maybe more people will update it there.)
Andries
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] kill two scsi ioctls
2003-04-10 17:29 [PATCH] kill two scsi ioctls Andries.Brouwer
@ 2003-04-10 18:26 ` John Levon
0 siblings, 0 replies; 4+ messages in thread
From: John Levon @ 2003-04-10 18:26 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, torvalds
On Thu, Apr 10, 2003 at 07:29:11PM +0200, Andries.Brouwer@cwi.nl wrote:
> It happens all the time. Hundreds of cases.
That's obviously no excuse.
> historical explanations somewhere else, for example in
> Documentation/ioctl_list.
Fine by me.
regards
john
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] kill two scsi ioctls
2003-04-10 16:33 Andries.Brouwer
@ 2003-04-10 16:38 ` John Levon
0 siblings, 0 replies; 4+ messages in thread
From: John Levon @ 2003-04-10 16:38 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: torvalds, linux-kernel, linux-scsi
On Thu, Apr 10, 2003 at 06:33:26PM +0200, Andries.Brouwer@cwi.nl wrote:
> The definition for SCSI_IOCTL_BENCHMARK_COMMAND was added in 1.1.2.
> The definition for SCSI_IOCTL_SYNC was added in 1.1.38.
> Neither of them has ever been used.
Can't you at least add a comment about what was there ? It's quite
annoying to come across :
#define FOO 1
#define BAR 2
#define BAZ 5
and have no idea why
regards
john
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] kill two scsi ioctls
@ 2003-04-10 16:33 Andries.Brouwer
2003-04-10 16:38 ` John Levon
0 siblings, 1 reply; 4+ messages in thread
From: Andries.Brouwer @ 2003-04-10 16:33 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, linux-scsi
The definition for SCSI_IOCTL_BENCHMARK_COMMAND was added in 1.1.2.
The definition for SCSI_IOCTL_SYNC was added in 1.1.38.
Neither of them has ever been used.
diff -u --recursive --new-file -X /linux/dontdiff a/include/scsi/scsi_ioctl.h b/include/scsi/scsi_ioctl.h
--- a/include/scsi/scsi_ioctl.h Fri Nov 22 22:40:13 2002
+++ b/include/scsi/scsi_ioctl.h Thu Apr 10 18:23:31 2003
@@ -3,8 +3,6 @@
#define SCSI_IOCTL_SEND_COMMAND 1
#define SCSI_IOCTL_TEST_UNIT_READY 2
-#define SCSI_IOCTL_BENCHMARK_COMMAND 3
-#define SCSI_IOCTL_SYNC 4 /* Request synchronous parameters */
#define SCSI_IOCTL_START_UNIT 5
#define SCSI_IOCTL_STOP_UNIT 6
/* The door lock/unlock constants are compatible with Sun constants for
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-10 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 17:29 [PATCH] kill two scsi ioctls Andries.Brouwer
2003-04-10 18:26 ` John Levon
-- strict thread matches above, loose matches on Subject: below --
2003-04-10 16:33 Andries.Brouwer
2003-04-10 16:38 ` John Levon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).