]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/mod_devicetable.h
Merge branch 'modules' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[mv-sheeva.git] / include / linux / mod_devicetable.h
index 55f1f9c9506cef061839f6302d1684e95d00b2ec..48c007dae4765851ae1657b6bcce3dc4b8fe542f 100644 (file)
@@ -500,4 +500,20 @@ struct mdio_device_id {
        __u32 phy_id_mask;
 };
 
+struct zorro_device_id {
+       __u32 id;                       /* Device ID or ZORRO_WILDCARD */
+       kernel_ulong_t driver_data;     /* Data private to the driver */
+};
+
+#define ZORRO_WILDCARD                 (0xffffffff)    /* not official */
+
+#define ZORRO_DEVICE_MODALIAS_FMT      "zorro:i%08X"
+
+#define ISAPNP_ANY_ID          0xffff
+struct isapnp_device_id {
+       unsigned short card_vendor, card_device;
+       unsigned short vendor, function;
+       kernel_ulong_t driver_data;     /* data private to the driver */
+};
+
 #endif /* LINUX_MOD_DEVICETABLE_H */