MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / linux / isa.h
blob1b855335cb11f7e19e196030d205d5958ebcceda
1 /*
2 * ISA bus.
3 */
5 #ifndef __LINUX_ISA_H
6 #define __LINUX_ISA_H
8 #include <linux/device.h>
9 #include <linux/kernel.h>
11 struct isa_driver {
12 int (*match)(struct device *, unsigned int);
13 int (*probe)(struct device *, unsigned int);
14 int (*remove)(struct device *, unsigned int);
15 void (*shutdown)(struct device *, unsigned int);
16 int (*suspend)(struct device *, unsigned int, pm_message_t);
17 int (*resume)(struct device *, unsigned int);
19 struct device_driver driver;
20 struct device *devices;
23 #define to_isa_driver(x) container_of((x), struct isa_driver, driver)
25 int isa_register_driver(struct isa_driver *, unsigned int);
26 void isa_unregister_driver(struct isa_driver *);
28 #endif /* __LINUX_ISA_H */