9 * A location on an ISA bus
15 unsigned int probe_idx;
19 * A physical ISA device
24 struct isa_driver *driver;
31 * An individual ISA device, identified by probe address
34 typedef uint16_t isa_probe_addr_t;
37 * An ISA driver, with a probe address list and a probe_addr method.
38 * probe_addr() should return 1 if a card is physically present,
39 * leaving the other operations (read MAC address etc.) down to the
40 * main probe() routine.
45 isa_probe_addr_t *probe_addrs;
46 unsigned int addr_count;
47 int ( * probe_addr ) ( isa_probe_addr_t addr );
53 * Define an ISA driver
56 #define ISA_DRIVER( _name, _probe_addrs, _probe_addr, _mfg_id, _prod_id ) \
57 static struct isa_driver _name __table(isa_driver,01 ) = { \
58 .probe_addrs = _probe_addrs, \
59 .addr_count = sizeof ( _probe_addrs ) / sizeof ( _probe_addrs[0] ), \
60 .probe_addr = _probe_addr, \
62 .prod_id = _prod_id, \
66 * ISA_ROM is parsed by parserom.pl to generate Makefile rules and
67 * files for rom-o-matic.
70 #define ISA_ROM( IMAGE, DESCRIPTION )
76 extern void isa_fill_nic ( struct nic *nic, struct isa_device *isa );
79 * ISA bus global definition
82 extern struct bus_driver isa_driver;