mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h
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>
This commit is contained in:
parent
358d2ee2e8
commit
17be18c2b5
1 changed files with 7 additions and 0 deletions
|
@ -405,6 +405,13 @@ struct virtio_device_id {
|
||||||
};
|
};
|
||||||
#define VIRTIO_DEV_ANY_ID 0xffffffff
|
#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 */
|
/* i2c */
|
||||||
|
|
||||||
#define I2C_NAME_SIZE 20
|
#define I2C_NAME_SIZE 20
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue