8 * A physical ISA device
12 char *magic; /* must be first */
13 unsigned int probe_idx;
19 * An individual ISA device, identified by probe address
22 typedef uint16_t isa_probe_addr_t;
25 * An ISA driver, with a probe address list and a probe_addr method.
26 * probe_addr() should return 1 if a card is physically present,
27 * leaving the other operations (read MAC address etc.) down to the
28 * main probe() routine.
33 isa_probe_addr_t *probe_addrs;
34 unsigned int addr_count;
35 int ( * probe_addr ) ( isa_probe_addr_t addr );
41 * Define an ISA driver
44 #define ISA_DRIVER( _name, _probe_addrs, _probe_addr, _mfg_id, _prod_id ) { \
46 .probe_addrs = _probe_addrs, \
47 .addr_count = sizeof ( _probe_addrs ) / sizeof ( _probe_addrs[0] ), \
48 .probe_addr = _probe_addr, \
50 .prod_id = _prod_id, \
54 * ISA_ROM is parsed by parserom.pl to generate Makefile rules and
55 * files for rom-o-matic.
58 #define ISA_ROM( IMAGE, DESCRIPTION )
64 extern int find_isa_device ( struct isa_device *eisa,
65 struct isa_driver *driver );
66 extern int find_isa_boot_device ( struct dev *dev,
67 struct isa_driver *driver );