]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blob - include/linux/platform_data/itco_wdt.h
Merge branch 'work.sane_pwd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-disco-kernel.git] / include / linux / platform_data / itco_wdt.h
1 /*
2 * Platform data for the Intel TCO Watchdog
3 */
4
5 #ifndef _ITCO_WDT_H_
6 #define _ITCO_WDT_H_
7
8 /* Watchdog resources */
9 #define ICH_RES_IO_TCO 0
10 #define ICH_RES_IO_SMI 1
11 #define ICH_RES_MEM_OFF 2
12 #define ICH_RES_MEM_GCS_PMC 0
13
14 struct itco_wdt_platform_data {
15 char name[32];
16 unsigned int version;
17 /* private data to be passed to update_no_reboot_bit API */
18 void *no_reboot_priv;
19 /* pointer for platform specific no reboot update function */
20 int (*update_no_reboot_bit)(void *priv, bool set);
21 };
22
23 #endif /* _ITCO_WDT_H_ */