diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/ieee1394/ieee1394_hotplug.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'drivers/ieee1394/ieee1394_hotplug.h')
-rw-r--r-- | drivers/ieee1394/ieee1394_hotplug.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394_hotplug.h b/drivers/ieee1394/ieee1394_hotplug.h new file mode 100644 index 000000000000..5be70d31b007 --- /dev/null +++ b/drivers/ieee1394/ieee1394_hotplug.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef _IEEE1394_HOTPLUG_H | ||
2 | #define _IEEE1394_HOTPLUG_H | ||
3 | |||
4 | #include <linux/kernel.h> | ||
5 | #include <linux/types.h> | ||
6 | #include <linux/mod_devicetable.h> | ||
7 | |||
8 | /* Unit spec id and sw version entry for some protocols */ | ||
9 | #define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D | ||
10 | #define AVC_SW_VERSION_ENTRY 0x00010001 | ||
11 | #define CAMERA_UNIT_SPEC_ID_ENTRY 0x0000A02D | ||
12 | #define CAMERA_SW_VERSION_ENTRY 0x00000100 | ||
13 | |||
14 | /* Check to make sure this all isn't already defined */ | ||
15 | #ifndef IEEE1394_MATCH_VENDOR_ID | ||
16 | |||
17 | #define IEEE1394_MATCH_VENDOR_ID 0x0001 | ||
18 | #define IEEE1394_MATCH_MODEL_ID 0x0002 | ||
19 | #define IEEE1394_MATCH_SPECIFIER_ID 0x0004 | ||
20 | #define IEEE1394_MATCH_VERSION 0x0008 | ||
21 | |||
22 | struct ieee1394_device_id { | ||
23 | u32 match_flags; | ||
24 | u32 vendor_id; | ||
25 | u32 model_id; | ||
26 | u32 specifier_id; | ||
27 | u32 version; | ||
28 | void *driver_data; | ||
29 | }; | ||
30 | |||
31 | #endif | ||
32 | |||
33 | #endif /* _IEEE1394_HOTPLUG_H */ | ||