diff options
author | K. Y. Srinivasan | 2011-09-13 19:59:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-09-16 20:06:03 +0200 |
commit | cd654ea1cc72aed95e871971d87c4a988924fdda (patch) | |
tree | f618c727695df392165a5f795fd283eb3bf13f01 /drivers/staging/hv/netvsc_drv.c | |
parent | Staging: hv: storvsc: Get rid of some unnecessary state and definitions (diff) | |
download | kernel-qcow2-linux-cd654ea1cc72aed95e871971d87c4a988924fdda.tar.gz kernel-qcow2-linux-cd654ea1cc72aed95e871971d87c4a988924fdda.tar.xz kernel-qcow2-linux-cd654ea1cc72aed95e871971d87c4a988924fdda.zip |
Staging: hv: storvsc: Eliminate the usage of ext field in struct hv_device
Now, eliminate the usage of ext field in struct hv_device for storvsc driver.
We do this by registering pointer to struct storvsc_device as the driver
specific data and eliminating the current usage of driver specific data to
save and retrieve the pointer to struct Scsi_Host.
Additionally, all access to the driver specific data is through
the vmbus wrapper functions. Note that function to allocate the host
gives us a reference on the host object.
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 'drivers/staging/hv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions