summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gpxe/ata.h')
-rw-r--r--src/include/gpxe/ata.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/include/gpxe/ata.h b/src/include/gpxe/ata.h
index 195e361cf..e0fca7afe 100644
--- a/src/include/gpxe/ata.h
+++ b/src/include/gpxe/ata.h
@@ -139,20 +139,18 @@ struct ata_cb {
struct ata_command {
/** ATA command block */
struct ata_cb cb;
- /** Data-out buffer (may be NULL) */
- userptr_t data_out;
- /** Data-out buffer length
+ /** Data-out buffer (may be NULL)
*
- * Must be zero if @c data_out is NULL
+ * If non-NULL, this buffer must be ata_command::cb::count
+ * sectors in size.
*/
- size_t data_out_len;
- /** Data-in buffer (may be NULL) */
- userptr_t data_in;
- /** Data-in buffer length
+ userptr_t data_out;
+ /** Data-in buffer (may be NULL)
*
- * Must be zero if @c data_in is NULL
+ * If non-NULL, this buffer must be ata_command::cb::count
+ * sectors in size.
*/
- size_t data_in_len;
+ userptr_t data_in;
};
/**