Merge branch 'master' of git://github.com/illumos/illumos-gate
[unleashed.git] / usr / src / grub / grub-0.97 / netboot / isa.h
blobe0e85cdf1db84d21ab8adf92f5714145f9db22ba
1 #if !defined(ISA_H) && defined(CONFIG_ISA)
2 #define ISA_H
4 struct dev;
6 #define ISAPNP_VENDOR(a,b,c) (((((a)-'A'+1)&0x3f)<<2)|\
7 ((((b)-'A'+1)&0x18)>>3)|((((b)-'A'+1)&7)<<13)|\
8 ((((c)-'A'+1)&0x1f)<<8))
10 #define GENERIC_ISAPNP_VENDOR ISAPNP_VENDOR('P','N','P')
12 struct isa_driver
14 int type;
15 const char *name;
16 int (*probe)(struct dev *, unsigned short *);
17 unsigned short *ioaddrs;
20 #define __isa_driver __attribute__ ((unused,__section__(".drivers.isa")))
21 extern const struct isa_driver isa_drivers[];
22 extern const struct isa_driver isa_drivers_end[];
24 #define ISA_ROM(IMAGE, DESCRIPTION)
26 #endif /* ISA_H */