You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isa.h 523B

12345678910111213141516171819202122232425262728
  1. #ifndef ISA_H
  2. #define ISA_H
  3. #include "isa_ids.h"
  4. struct dev;
  5. struct isa_driver
  6. {
  7. int type;
  8. const char *name;
  9. int (*probe)(struct dev *, unsigned short *);
  10. unsigned short *ioaddrs;
  11. };
  12. #ifndef __HYPERSTONE__
  13. #define __isa_driver __attribute__ ((used,__section__(".drivers.isa")))
  14. #else
  15. #define __isa_driver __attribute__ ((used,__section__(".drivisa")))
  16. #endif
  17. extern const struct isa_driver isa_drivers[];
  18. extern const struct isa_driver isa_drivers_end[];
  19. #define ISA_ROM(IMAGE, DESCRIPTION)
  20. #endif /* ISA_H */