]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mod_devicetable.h
[XFRM] user: Move attribute copying code into copy_to_user_state_extra
[linux-2.6-omap-h63xx.git] / include / linux / mod_devicetable.h
index 2ada8ee316b3b04e94ee25d3a9c1939384771c2b..0c522e6b0917ad84a2fc5f26423cc8efb4419702 100644 (file)
@@ -159,7 +159,8 @@ struct ap_device_id {
 
 #define AP_DEVICE_ID_MATCH_DEVICE_TYPE         0x01
 
-#define ACPI_ID_LEN    9
+#define ACPI_ID_LEN    16 /* only 9 bytes needed here, 16 bytes are used */
+                          /* to workaround crosscompile issues */
 
 struct acpi_device_id {
        __u8 id[ACPI_ID_LEN];
@@ -339,4 +340,19 @@ struct parisc_device_id {
 #define PA_HVERSION_ANY_ID     0xffff
 #define PA_SVERSION_ANY_ID     0xffffffff
 
+/* SSB core, see drivers/ssb/ */
+struct ssb_device_id {
+       __u16   vendor;
+       __u16   coreid;
+       __u8    revision;
+};
+#define SSB_DEVICE(_vendor, _coreid, _revision)  \
+       { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
+#define SSB_DEVTABLE_END  \
+       { 0, },
+
+#define SSB_ANY_VENDOR         0xFFFF
+#define SSB_ANY_ID             0xFFFF
+#define SSB_ANY_REV            0xFF
+
 #endif /* LINUX_MOD_DEVICETABLE_H */