patch-2.4.8 linux/include/asm-s390/s390dyn.h

Next file: linux/include/asm-s390/setup.h
Previous file: linux/include/asm-s390/queue.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/include/asm-s390/s390dyn.h linux/include/asm-s390/s390dyn.h
@@ -37,11 +37,14 @@
 	oper_handler_func_t  oper_func;
 } devreg_t;
 
-#define DEVREG_EXACT_MATCH      0x00000001
-#define DEVREG_MATCH_DEV_TYPE   0x00000002
-#define DEVREG_MATCH_CU_TYPE    0x00000004
-#define DEVREG_NO_CU_INFO       0x00000008
-#define DEVREG_NO_DEV_INFO      0x00000010
+#define DEVREG_MATCH_CU_TYPE    0x00000001
+#define DEVREG_MATCH_CU_MODEL   0x00000002
+#define DEVREG_MATCH_DEV_TYPE   0x00000004
+#define DEVREG_MATCH_DEV_MODEL  0x00000008
+
+#define DEVREG_EXACT_MATCH      (DEVREG_MATCH_CU_TYPE|DEVREG_MATCH_CU_MODEL|DEVREG_MATCH_DEV_TYPE|DEVREG_MATCH_DEV_MODEL)
+#define DEVREG_NO_CU_INFO       (DEVREG_MATCH_DEV_TYPE|DEVREG_MATCH_DEV_MODEL)
+#define DEVREG_NO_DEV_INFO      (DEVREG_MATCH_CU_TYPE|DEVREG_MATCH_CU_MODEL)
 
 #define DEVREG_TYPE_DEVNO       0x80000000
 #define DEVREG_TYPE_DEVCHARS    0x40000000

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)