summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Collins <bcollins@debian.org>2003-05-03 21:03:53 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-03 21:03:53 -0700
commit48ff4dace6bfcc64fedbd8e03597c5e5dc7823ec (patch)
tree7b0e50a1430522499e7397377c0f6786c810b7b6 /include
parent4c3c3a2174e119f12ccffed953b547739ea64b45 (diff)
[PATCH] add ieee1394 module dev table
This adds ieee1394 for module table registration.
Diffstat (limited to 'include')
-rw-r--r--include/linux/mod_devicetable.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 9baa5a448684..4442b47c8dc2 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -21,6 +21,22 @@ struct pci_device_id {
kernel_ulong_t driver_data; /* Data private to the driver */
};
+
+#define IEEE1394_MATCH_VENDOR_ID 0x0001
+#define IEEE1394_MATCH_MODEL_ID 0x0002
+#define IEEE1394_MATCH_SPECIFIER_ID 0x0004
+#define IEEE1394_MATCH_VERSION 0x0008
+
+struct ieee1394_device_id {
+ __u32 match_flags;
+ __u32 vendor_id;
+ __u32 model_id;
+ __u32 specifier_id;
+ __u32 version;
+ kernel_ulong_t driver_data;
+};
+
+
/*
* Device table entry for "new style" table-driven USB drivers.
* User mode code can read these tables to choose which modules to load.