Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248917
b: refs/heads/master
c: f24eeb0
h: refs/heads/master
i:
  248915: 02f6a91
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 26450b1 commit 3fa8595
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 036bbeda8c802c438e167d35a3ce726bcb0bb42e
refs/heads/master: f24eeb06a430f8508d03a419ff4274d5596a5436
26 changes: 0 additions & 26 deletions trunk/drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,6 @@
#include "channel.h"


/* A storvsc device is a device object that contains a vmbus channel */
struct storvsc_device {
struct hv_device *device;

/* 0 indicates the device is being destroyed */
atomic_t ref_count;

atomic_t num_outstanding_req;

/*
* Each unique Port/Path/Target represents 1 channel ie scsi
* controller. In reality, the pathid, targetid is always 0
* and the port is set by us
*/
unsigned int port_number;
unsigned char path_id;
unsigned char target_id;

/* LIST_ENTRY OutstandingRequestList; */
/* HANDLE OutstandingRequestLock; */

/* Used for vsc/vsp channel reset process */
struct storvsc_request_extension init_request;
struct storvsc_request_extension reset_request;
};


static const char *g_driver_name = "storvsc";

Expand Down
26 changes: 26 additions & 0 deletions trunk/drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,32 @@ struct storvsc_request_extension {
struct vstor_packet vstor_packet;
};

/* A storvsc device is a device object that contains a vmbus channel */
struct storvsc_device {
struct hv_device *device;

/* 0 indicates the device is being destroyed */
atomic_t ref_count;

atomic_t num_outstanding_req;

/*
* Each unique Port/Path/Target represents 1 channel ie scsi
* controller. In reality, the pathid, targetid is always 0
* and the port is set by us
*/
unsigned int port_number;
unsigned char path_id;
unsigned char target_id;

/* LIST_ENTRY OutstandingRequestList; */
/* HANDLE OutstandingRequestLock; */

/* Used for vsc/vsp channel reset process */
struct storvsc_request_extension init_request;
struct storvsc_request_extension reset_request;
};

/* Interface */
int stor_vsc_initialize(struct hv_driver *driver);
int stor_vsc_on_host_reset(struct hv_device *device);
Expand Down

0 comments on commit 3fa8595

Please sign in to comment.