Go to the documentation of this file.
30 #define PNP_SUCCESS 0x00
31 #define PNP_NOT_SET_STATICALLY 0x7f
32 #define PNP_UNKNOWN_FUNCTION 0x81
33 #define PNP_FUNCTION_NOT_SUPPORTED 0x82
34 #define PNP_INVALID_HANDLE 0x83
35 #define PNP_BAD_PARAMETER 0x84
36 #define PNP_SET_FAILED 0x85
37 #define PNP_EVENTS_NOT_PENDING 0x86
38 #define PNP_SYSTEM_NOT_DOCKED 0x87
39 #define PNP_NO_ISA_PNP_CARDS 0x88
40 #define PNP_UNABLE_TO_DETERMINE_DOCK_CAPABILITIES 0x89
41 #define PNP_CONFIG_CHANGE_FAILED_NO_BATTERY 0x8a
42 #define PNP_CONFIG_CHANGE_FAILED_RESOURCE_CONFLICT 0x8b
43 #define PNP_BUFFER_TOO_SMALL 0x8c
44 #define PNP_USE_ESCD_SUPPORT 0x8d
45 #define PNP_MESSAGE_NOT_SUPPORTED 0x8e
46 #define PNP_HARDWARE_ERROR 0x8f
48 #define ESCD_SUCCESS 0x00
49 #define ESCD_IO_ERROR_READING 0x55
50 #define ESCD_INVALID 0x56
51 #define ESCD_BUFFER_TOO_SMALL 0x59
52 #define ESCD_NVRAM_TOO_SMALL 0x5a
53 #define ESCD_FUNCTION_NOT_SUPPORTED 0x81
58 #define PNPEV_ABOUT_TO_CHANGE_CONFIG 0x0001
59 #define PNPEV_DOCK_CHANGED 0x0002
60 #define PNPEV_SYSTEM_DEVICE_CHANGED 0x0003
61 #define PNPEV_CONFIG_CHANGED_FAILED 0x0004
62 #define PNPEV_UNKNOWN_SYSTEM_EVENT 0xffff
68 #define PNPMSG_OK 0x00
69 #define PNPMSG_ABORT 0x01
70 #define PNPMSG_UNDOCK_DEFAULT_ACTION 0x40
71 #define PNPMSG_POWER_OFF 0x41
72 #define PNPMSG_PNP_OS_ACTIVE 0x42
73 #define PNPMSG_PNP_OS_INACTIVE 0x43
78 #define PNPBIOS_NO_DISABLE 0x0001
79 #define PNPBIOS_NO_CONFIG 0x0002
80 #define PNPBIOS_OUTPUT 0x0004
81 #define PNPBIOS_INPUT 0x0008
82 #define PNPBIOS_BOOTABLE 0x0010
83 #define PNPBIOS_DOCK 0x0020
84 #define PNPBIOS_REMOVABLE 0x0040
85 #define pnpbios_is_static(x) (((x)->flags & 0x0100) == 0x0000)
86 #define pnpbios_is_dynamic(x) ((x)->flags & 0x0080)
91 #define PNPMODE_STATIC 1
92 #define PNPMODE_DYNAMIC 0
174 #ifdef CONFIG_PNPBIOS_PROC_FS