ia64/linux-2.6.18-xen.hg

annotate drivers/ieee1394/ieee1394_hotplug.h @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
rev   line source
ian@0 1 #ifndef _IEEE1394_HOTPLUG_H
ian@0 2 #define _IEEE1394_HOTPLUG_H
ian@0 3
ian@0 4 #include <linux/kernel.h>
ian@0 5 #include <linux/types.h>
ian@0 6 #include <linux/mod_devicetable.h>
ian@0 7
ian@0 8 /* Unit spec id and sw version entry for some protocols */
ian@0 9 #define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D
ian@0 10 #define AVC_SW_VERSION_ENTRY 0x00010001
ian@0 11 #define CAMERA_UNIT_SPEC_ID_ENTRY 0x0000A02D
ian@0 12 #define CAMERA_SW_VERSION_ENTRY 0x00000100
ian@0 13
ian@0 14 /* Check to make sure this all isn't already defined */
ian@0 15 #ifndef IEEE1394_MATCH_VENDOR_ID
ian@0 16
ian@0 17 #define IEEE1394_MATCH_VENDOR_ID 0x0001
ian@0 18 #define IEEE1394_MATCH_MODEL_ID 0x0002
ian@0 19 #define IEEE1394_MATCH_SPECIFIER_ID 0x0004
ian@0 20 #define IEEE1394_MATCH_VERSION 0x0008
ian@0 21
ian@0 22 struct ieee1394_device_id {
ian@0 23 u32 match_flags;
ian@0 24 u32 vendor_id;
ian@0 25 u32 model_id;
ian@0 26 u32 specifier_id;
ian@0 27 u32 version;
ian@0 28 void *driver_data;
ian@0 29 };
ian@0 30
ian@0 31 #endif
ian@0 32
ian@0 33 #endif /* _IEEE1394_HOTPLUG_H */