summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/netvsc_drv.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-09-13 19:59:48 +0200
committerGreg Kroah-Hartman2011-09-16 20:06:03 +0200
commitcd654ea1cc72aed95e871971d87c4a988924fdda (patch)
treef618c727695df392165a5f795fd283eb3bf13f01 /drivers/staging/hv/netvsc_drv.c
parentStaging: hv: storvsc: Get rid of some unnecessary state and definitions (diff)
downloadkernel-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