[PARISC] move parisc_device_id definition to mod_devicetable.h
[sfrench/cifs-2.6.git] / include / linux / mod_devicetable.h
index f6977708585cab80c7840db5920ae1c512578e3a..1632025f3e60a5cb53cc9cd3fc1a2bb05691d71c 100644 (file)
@@ -148,6 +148,17 @@ struct ccw_device_id {
 #define CCW_DEVICE_ID_MATCH_DEVICE_TYPE                0x04
 #define CCW_DEVICE_ID_MATCH_DEVICE_MODEL       0x08
 
+/* s390 AP bus devices */
+struct ap_device_id {
+       __u16 match_flags;      /* which fields to match against */
+       __u8 dev_type;          /* device type */
+       __u8 pad1;
+       __u32 pad2;
+       kernel_ulong_t driver_info;
+};
+
+#define AP_DEVICE_ID_MATCH_DEVICE_TYPE         0x01
+
 
 #define PNP_ID_LEN     8
 #define PNP_MAX_DEVICES        8
@@ -297,4 +308,28 @@ struct input_device_id {
        kernel_ulong_t driver_info;
 };
 
+/* EISA */
+
+#define EISA_SIG_LEN   8
+
+/* The EISA signature, in ASCII form, null terminated */
+struct eisa_device_id {
+       char          sig[EISA_SIG_LEN];
+       kernel_ulong_t driver_data;
+};
+
+#define EISA_DEVICE_MODALIAS_FMT "eisa:s%s"
+
+struct parisc_device_id {
+       __u8    hw_type;        /* 5 bits used */
+       __u8    hversion_rev;   /* 4 bits */
+       __u16   hversion;       /* 12 bits */
+       __u32   sversion;       /* 20 bits */
+};
+
+#define HWTYPE_ANY_ID          0xff
+#define HVERSION_REV_ANY_ID    0xff
+#define HVERSION_ANY_ID                0xffff
+#define SVERSION_ANY_ID                0xffffffff
+
 #endif /* LINUX_MOD_DEVICETABLE_H */