|
@@ -48,14 +48,13 @@ struct isa_driver {
|
48
|
48
|
uint16_t mfg_id;
|
49
|
49
|
uint16_t prod_id;
|
50
|
50
|
};
|
51
|
|
-#define __isa_driver __attribute__ (( section ( ".drivers.isa" ) ))
|
52
|
51
|
|
53
|
52
|
/*
|
54
|
53
|
* Define an ISA driver
|
55
|
54
|
*
|
56
|
55
|
*/
|
57
|
56
|
#define ISA_DRIVER( _name, _probe_addrs, _probe_addr, _mfg_id, _prod_id ) \
|
58
|
|
-static struct isa_driver _name __isa_driver = { \
|
|
57
|
+static struct isa_driver _name __table(isa_driver,01 ) = { \
|
59
|
58
|
.probe_addrs = _probe_addrs, \
|
60
|
59
|
.addr_count = sizeof ( _probe_addrs ) / sizeof ( _probe_addrs[0] ), \
|
61
|
60
|
.probe_addr = _probe_addr, \
|