summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/blkdev.h
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-11-20 06:33:38 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-11-20 06:33:38 +0000
commit6d61294486623200b8ce0b6f8d7fcbad04f59d07 (patch)
tree10869b291eb8f72578e3956538c3f1498a8e0e04 /cpukit/libblock/include/rtems/blkdev.h
parent2009-11-19 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-6d61294486623200b8ce0b6f8d7fcbad04f59d07.tar.bz2
numerous changes
Diffstat (limited to 'cpukit/libblock/include/rtems/blkdev.h')
-rw-r--r--cpukit/libblock/include/rtems/blkdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libblock/include/rtems/blkdev.h b/cpukit/libblock/include/rtems/blkdev.h
index 7956a59460..f8b2932803 100644
--- a/cpukit/libblock/include/rtems/blkdev.h
+++ b/cpukit/libblock/include/rtems/blkdev.h
@@ -98,6 +98,13 @@ typedef struct rtems_blkdev_sg_buffer {
/**
* The block device request structure is used to read or write a number of
* blocks from or to the device.
+ *
+ * TODO: The use of these req blocks is not a great design. The req is a
+ * struct with a single 'bufs' declared in the req struct and the
+ * others are added in the outer level struct. This relies on the
+ * structs joining as a single array and that assumes the compiler
+ * packs the structs. Why not just place on a list ? The BD has a
+ * node that can be used.
*/
typedef struct rtems_blkdev_request {
/**