aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/isa.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/isa.h')
-rw-r--r--gpxe/src/include/gpxe/isa.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gpxe/src/include/gpxe/isa.h b/gpxe/src/include/gpxe/isa.h
index bb25dbce..63027a5a 100644
--- a/gpxe/src/include/gpxe/isa.h
+++ b/gpxe/src/include/gpxe/isa.h
@@ -1,6 +1,8 @@
#ifndef ISA_H
#define ISA_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/isa_ids.h>
#include <gpxe/device.h>
@@ -58,8 +60,11 @@ struct isa_driver {
void ( * remove ) ( struct isa_device *isa );
};
+/** ISA driver table */
+#define ISA_DRIVERS __table ( struct isa_driver, "isa_drivers" )
+
/** Declare an ISA driver */
-#define __isa_driver __table ( struct isa_driver, isa_drivers, 01 )
+#define __isa_driver __table_entry ( ISA_DRIVERS, 01 )
/**
* Set ISA driver-private data