summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-11-01 19:55:44 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-11-01 19:55:44 -0800
commit6892c800dae0c73fbd951bd12469896aa1de44fb (patch)
tree526dc40fd219e5b4744d4f692094ea26e0682e79 /include/linux
parent1c58248d61e73505109d58ed90ab986ee205a7a2 (diff)
Add a "cmd_len" parameter to the request, so that device drivers
don't have to try to figure it out for themselves. Make ide-cd.c use it.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 9f84bcbf0c59..5fe4ade9e2bd 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -92,6 +92,7 @@ struct request {
/*
* when request is used as a packet command carrier
*/
+ unsigned int cmd_len;
unsigned char cmd[16];
unsigned int data_len;