projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358d2ee
)
Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h
author
K. Y. Srinivasan
<kys@microsoft.com>
Thu, 25 Aug 2011 16:48:29 +0000
(09:48 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Aug 2011 17:23:07 +0000
(10:23 -0700)
In preparation for implementing vmbus aliases for auto-loading
Hyper-V drivers, define vmbus specific device ID.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/mod_devicetable.h
patch
|
blob
|
history
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index ae28e93fd07276c27114709580ed555e772fcd94..5a123774c2e67fcd22c6be52aeffd620a46b191f 100644
(file)
--- a/
include/linux/mod_devicetable.h
+++ b/
include/linux/mod_devicetable.h
@@
-405,6
+405,13
@@
struct virtio_device_id {
};
#define VIRTIO_DEV_ANY_ID 0xffffffff
+/*
+ * For Hyper-V devices we use the device guid as the id.
+ */
+struct hv_vmbus_device_id {
+ __u8 guid[16];
+};
+
/* i2c */
#define I2C_NAME_SIZE 20