Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162281
b: refs/heads/master
c: f25c749
h: refs/heads/master
i:
  162279: 4158e55
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 15, 2009
1 parent 1f684e2 commit 6f5fd54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 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: 211ccd6e0b4b62abc0c93eeb671f5cd970b3c185
refs/heads/master: f25c749bb830890a3e31236857523a57cf6ddc7c
17 changes: 5 additions & 12 deletions trunk/drivers/staging/hv/StorVscApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@

struct hv_storvsc_request;

/* Data types */
typedef int (*PFN_ON_IO_REQUEST)(struct hv_device *Device,
struct hv_storvsc_request *Request);
typedef void (*PFN_ON_IO_REQUEST_COMPLTN)(struct hv_storvsc_request *Request);

typedef int (*PFN_ON_HOST_RESET)(struct hv_device *Device);
typedef void (*PFN_ON_HOST_RESCAN)(struct hv_device *Device);

/* Matches Windows-end */
enum storvsc_request_type{
WRITE_TYPE,
Expand All @@ -76,7 +68,7 @@ struct hv_storvsc_request {

void *Context;

PFN_ON_IO_REQUEST_COMPLTN OnIOCompletion;
void (*OnIOCompletion)(struct hv_storvsc_request *Request);

/* This points to the memory after DataBuffer */
void *Extension;
Expand All @@ -100,11 +92,12 @@ struct storvsc_driver_object {
u32 MaxOutstandingRequestsPerChannel;

/* Set by the caller to allow us to re-enumerate the bus on the host */
PFN_ON_HOST_RESCAN OnHostRescan;
void (*OnHostRescan)(struct hv_device *Device);

/* Specific to this driver */
PFN_ON_IO_REQUEST OnIORequest;
PFN_ON_HOST_RESET OnHostReset;
int (*OnIORequest)(struct hv_device *Device,
struct hv_storvsc_request *Request);
int (*OnHostReset)(struct hv_device *Device);
};

struct storvsc_device_info {
Expand Down

0 comments on commit 6f5fd54

Please sign in to comment.