aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/mca.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/mca.h')
-rw-r--r--gpxe/src/include/gpxe/mca.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gpxe/src/include/gpxe/mca.h b/gpxe/src/include/gpxe/mca.h
index 21f9e74d..da9d73e4 100644
--- a/gpxe/src/include/gpxe/mca.h
+++ b/gpxe/src/include/gpxe/mca.h
@@ -5,6 +5,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifndef MCA_H
#define MCA_H
@@ -77,8 +79,11 @@ struct mca_driver {
void ( * remove ) ( struct mca_device *mca );
};
+/** MCA driver table */
+#define MCA_DRIVERS __table ( struct mca_driver, "mca_drivers" )
+
/** Declare an MCA driver */
-#define __mca_driver __table ( struct mca_driver, mca_drivers, 01 )
+#define __mca_driver __table_entry ( MCA_DRIVERS, 01 )
/**
* Set MCA driver-private data