Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248919
b: refs/heads/master
c: afa3f3d
h: refs/heads/master
i:
  248917: 3fa8595
  248915: 02f6a91
  248911: e779f96
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 21a8efd commit e1ab967
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 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: 78101852f3d08134e89979b491a9fa815395c9f5
refs/heads/master: afa3f3d7f57bc9adb3f7cc2c853153916f690eda
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ hv_vmbus-y := vmbus_drv.o \
hv.o connection.o channel.o \
channel_mgmt.o ring_buffer.o
hv_storvsc-y := storvsc_drv.o storvsc.o
hv_blkvsc-y := blkvsc_drv.o blkvsc.o
hv_blkvsc-y := blkvsc_drv.o blkvsc.o storvsc.o
hv_netvsc-y := netvsc_drv.o netvsc.o rndis_filter.o
hv_utils-y := hv_util.o hv_kvp.o
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/blkvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/
#include <linux/kernel.h>
#include <linux/mm.h>
#include "logging.h"
#include "hv_api.h"
#include "storvsc.c"
#include "storvsc_api.h"

static const char *g_blk_driver_name = "blkvsc";
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ static int stor_vsc_connect_to_vsp(struct hv_device *device)
* stor_vsc_on_device_add - Callback when the device belonging to this driver
* is added
*/
static int stor_vsc_on_device_add(struct hv_device *device,
int stor_vsc_on_device_add(struct hv_device *device,
void *additional_info)
{
struct storvsc_device *stor_device;
Expand Down Expand Up @@ -553,7 +553,7 @@ static int stor_vsc_on_device_add(struct hv_device *device,
/*
* stor_vsc_on_device_remove - Callback when the our device is being removed
*/
static int stor_vsc_on_device_remove(struct hv_device *device)
int stor_vsc_on_device_remove(struct hv_device *device)
{
struct storvsc_device *stor_device;

Expand Down Expand Up @@ -646,7 +646,7 @@ int stor_vsc_on_host_reset(struct hv_device *device)
/*
* stor_vsc_on_io_request - Callback to initiate an I/O request
*/
static int stor_vsc_on_io_request(struct hv_device *device,
int stor_vsc_on_io_request(struct hv_device *device,
struct hv_storvsc_request *request)
{
struct storvsc_device *stor_device;
Expand Down Expand Up @@ -739,7 +739,7 @@ static int stor_vsc_on_io_request(struct hv_device *device,
/*
* stor_vsc_on_cleanup - Perform any cleanup when the driver is removed
*/
static void stor_vsc_on_cleanup(struct hv_driver *driver)
void stor_vsc_on_cleanup(struct hv_driver *driver)
{
}

Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,13 @@ int stor_vsc_initialize(struct hv_driver *driver);
int stor_vsc_on_host_reset(struct hv_device *device);
int blk_vsc_initialize(struct hv_driver *driver);

int stor_vsc_on_device_add(struct hv_device *device,
void *additional_info);
int stor_vsc_on_device_remove(struct hv_device *device);

int stor_vsc_on_io_request(struct hv_device *device,
struct hv_storvsc_request *request);
void stor_vsc_on_cleanup(struct hv_driver *driver);


#endif /* _STORVSC_API_H_ */

0 comments on commit e1ab967

Please sign in to comment.