isa.h 704 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * ISA bus.
  3. */
  4. #ifndef __LINUX_ISA_H
  5. #define __LINUX_ISA_H
  6. #include <linux/device.h>
  7. #include <linux/kernel.h>
  8. struct isa_driver {
  9. int (*match)(struct device *, unsigned int);
  10. int (*probe)(struct device *, unsigned int);
  11. int (*remove)(struct device *, unsigned int);
  12. void (*shutdown)(struct device *, unsigned int);
  13. int (*suspend)(struct device *, unsigned int, pm_message_t);
  14. int (*resume)(struct device *, unsigned int);
  15. struct device_driver driver;
  16. struct device *devices;
  17. };
  18. #define to_isa_driver(x) container_of((x), struct isa_driver, driver)
  19. int isa_register_driver(struct isa_driver *, unsigned int);
  20. void isa_unregister_driver(struct isa_driver *);
  21. #endif /* __LINUX_ISA_H */