diff options
| author | K. Y. Srinivasan <kys@microsoft.com> | 2011-08-25 12:48:29 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-25 13:23:07 -0400 |
| commit | 17be18c2b5f5c8acd75e4edf1211abf2cfd60fa5 (patch) | |
| tree | b4146b1b7e4d5be73df8fb717ef08ec2b5c8b2b0 /include/linux | |
| parent | 358d2ee2e8f5c25f1661e94c206102c88fdee370 (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mod_devicetable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index ae28e93fd072..5a123774c2e6 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -405,6 +405,13 @@ struct virtio_device_id { | |||
| 405 | }; | 405 | }; |
| 406 | #define VIRTIO_DEV_ANY_ID 0xffffffff | 406 | #define VIRTIO_DEV_ANY_ID 0xffffffff |
| 407 | 407 | ||
| 408 | /* | ||
| 409 | * For Hyper-V devices we use the device guid as the id. | ||
| 410 | */ | ||
| 411 | struct hv_vmbus_device_id { | ||
| 412 | __u8 guid[16]; | ||
| 413 | }; | ||
| 414 | |||
| 408 | /* i2c */ | 415 | /* i2c */ |
| 409 | 416 | ||
| 410 | #define I2C_NAME_SIZE 20 | 417 | #define I2C_NAME_SIZE 20 |
