summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-27 14:24:38 +0200
committerMichael Brown2005-04-27 14:24:38 +0200
commit282b6f1a1a168700d1da822cfd3bfccdb4909b74 (patch)
tree43c7e8cddf9ba6c0ca49a169fbbfb70e305ca82f /src/include
parentdev.c uses the new tables infrastructure. (diff)
downloadipxe-282b6f1a1a168700d1da822cfd3bfccdb4909b74.tar.gz
ipxe-282b6f1a1a168700d1da822cfd3bfccdb4909b74.tar.xz
ipxe-282b6f1a1a168700d1da822cfd3bfccdb4909b74.zip
isa.c uses the new table infrastructure.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/isa.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/isa.h b/src/include/isa.h
index 1a4c87057..9e1dcadf7 100644
--- a/src/include/isa.h
+++ b/src/include/isa.h
@@ -48,14 +48,13 @@ struct isa_driver {
uint16_t mfg_id;
uint16_t prod_id;
};
-#define __isa_driver __attribute__ (( section ( ".drivers.isa" ) ))
/*
* Define an ISA driver
*
*/
#define ISA_DRIVER( _name, _probe_addrs, _probe_addr, _mfg_id, _prod_id ) \
-static struct isa_driver _name __isa_driver = { \
+static struct isa_driver _name __table(isa_driver,01 ) = { \
.probe_addrs = _probe_addrs, \
.addr_count = sizeof ( _probe_addrs ) / sizeof ( _probe_addrs[0] ), \
.probe_addr = _probe_addr, \