diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
| commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
| tree | 421fa29aedff988e392f92780637553e275d37a0 /include/linux/isa.h | |
| parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
| parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'include/linux/isa.h')
| -rw-r--r-- | include/linux/isa.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/isa.h b/include/linux/isa.h new file mode 100644 index 000000000000..1b855335cb11 --- /dev/null +++ b/include/linux/isa.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* | ||
| 2 | * ISA bus. | ||
| 3 | */ | ||
| 4 | |||
| 5 | #ifndef __LINUX_ISA_H | ||
| 6 | #define __LINUX_ISA_H | ||
| 7 | |||
| 8 | #include <linux/device.h> | ||
| 9 | #include <linux/kernel.h> | ||
| 10 | |||
| 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); | ||
| 18 | |||
| 19 | struct device_driver driver; | ||
| 20 | struct device *devices; | ||
| 21 | }; | ||
| 22 | |||
| 23 | #define to_isa_driver(x) container_of((x), struct isa_driver, driver) | ||
| 24 | |||
| 25 | int isa_register_driver(struct isa_driver *, unsigned int); | ||
| 26 | void isa_unregister_driver(struct isa_driver *); | ||
| 27 | |||
| 28 | #endif /* __LINUX_ISA_H */ | ||
