Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267919
b: refs/heads/master
c: eefd7f4
h: refs/heads/master
i:
  267917: 31336c8
  267915: 5ca1955
  267911: 4988dbf
  267903: d4f8b00
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 46a6267 commit 14eb778
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 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: ebf16e38515188b61962ba84b59e898ad64ffff6
refs/heads/master: eefd7f4555163da346781a2216264ba871aed76b
23 changes: 14 additions & 9 deletions trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,6 @@ struct block_device_context {

static const char *drv_name = "blkvsc";

/* {32412632-86cb-44a2-9b5c-50d1417354f5} */
static const uuid_le dev_type = {
.b = {
0x32, 0x26, 0x41, 0x32, 0xcb, 0x86, 0xa2, 0x44,
0x9b, 0x5c, 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5
}
};

/*
* There is a circular dependency involving blkvsc_request_completion()
* and blkvsc_do_request().
Expand Down Expand Up @@ -802,10 +794,24 @@ static void blkvsc_request(struct request_queue *queue)
}
}

static const struct hv_vmbus_device_id id_table[] = {
{
/* IDE guid */
.guid = {
0x32, 0x26, 0x41, 0x32, 0xcb, 0x86, 0xa2, 0x44,
0x9b, 0x5c, 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5
}
},
{
.guid = { }
},
};

MODULE_DEVICE_TABLE(vmbus, id_table);

/* The one and only one */
static struct hv_driver blkvsc_drv = {
.id_table = id_table,
.probe = blkvsc_probe,
.remove = blkvsc_remove,
.shutdown = blkvsc_shutdown,
Expand All @@ -829,7 +835,6 @@ static int blkvsc_drv_init(void)

BUILD_BUG_ON(sizeof(sector_t) != 8);

memcpy(&drv->dev_type, &dev_type, sizeof(uuid_le));
drv->driver.name = drv_name;

/* The driver belongs to vmbus */
Expand Down

0 comments on commit 14eb778

Please sign in to comment.