summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/ieee1394_hotplug.h
blob: 5be70d31b007151492e306a3e621812d3ce07e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _IEEE1394_HOTPLUG_H
#define _IEEE1394_HOTPLUG_H

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mod_devicetable.h>

/* Unit spec id and sw version entry for some protocols */
#define AVC_UNIT_SPEC_ID_ENTRY		0x0000A02D
#define AVC_SW_VERSION_ENTRY		0x00010001
#define CAMERA_UNIT_SPEC_ID_ENTRY	0x0000A02D
#define CAMERA_SW_VERSION_ENTRY		0x00000100

/* Check to make sure this all isn't already defined */
#ifndef IEEE1394_MATCH_VENDOR_ID

#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;
	void *driver_data;
};

#endif

#endif /* _IEEE1394_HOTPLUG_H */
OpenPOWER on IntegriCloud