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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/ata.h b/src/include/gpxe/ata.h
index e0fca7afe..b6da39302 100644
--- a/src/include/gpxe/ata.h
+++ b/src/include/gpxe/ata.h
@@ -4,6 +4,7 @@
#include <stdint.h>
#include <gpxe/blockdev.h>
#include <gpxe/uaccess.h>
+#include <gpxe/refcnt.h>
/** @file
*
@@ -195,6 +196,8 @@ struct ata_device {
*/
int ( * command ) ( struct ata_device *ata,
struct ata_command *command );
+ /** Backing device */
+ struct refcnt *backend;
};
extern int init_atadev ( struct ata_device *ata );