]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mod_devicetable.h
Pull bugzilla-7570 into release branch
[linux-2.6-omap-h63xx.git] / include / linux / mod_devicetable.h
index f7ca0b09075d960d54315b20c2f2cb1e29e3ec94..e96b2dee10bb8544d18e9804adb155a8d27bdd03 100644 (file)
@@ -308,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 PA_HWTYPE_ANY_ID       0xff
+#define PA_HVERSION_REV_ANY_ID 0xff
+#define PA_HVERSION_ANY_ID     0xffff
+#define PA_SVERSION_ANY_ID     0xffffffff
+
 #endif /* LINUX_MOD_DEVICETABLE_H */