Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267921
b: refs/heads/master
c: 345c4cc
h: refs/heads/master
i:
  267919: 14eb778
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 7058916 commit 301917d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 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: d847b5fe333d3cc588b26fabb138bb86077f080d
refs/heads/master: 345c4cc3b953a43464776701918e22c7e30cedd0
10 changes: 0 additions & 10 deletions trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@
/* Globals */
static const char *driver_name = "netvsc";

/* {F8615163-DF3E-46c5-913F-F2D2F965ED0E} */
static const uuid_le netvsc_device_type = {
.b = {
0x63, 0x51, 0x61, 0xF8, 0x3E, 0xDF, 0xc5, 0x46,
0x91, 0x3F, 0xF2, 0xD2, 0xF9, 0x65, 0xED, 0x0E
}
};


static struct netvsc_device *alloc_net_device(struct hv_device *device)
{
struct netvsc_device *net_device;
Expand Down Expand Up @@ -1009,7 +1000,6 @@ int netvsc_initialize(struct hv_driver *drv)
{

drv->name = driver_name;
memcpy(&drv->dev_type, &netvsc_device_type, sizeof(uuid_le));

return 0;
}
16 changes: 16 additions & 0 deletions trunk/drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,24 @@ static int netvsc_remove(struct hv_device *dev)
return 0;
}

static const struct hv_vmbus_device_id id_table[] = {
{
/* Network guid */
.guid = {
0x63, 0x51, 0x61, 0xF8, 0x3E, 0xDF, 0xc5, 0x46,
0x91, 0x3F, 0xF2, 0xD2, 0xF9, 0x65, 0xED, 0x0E
}
},
{
.guid = { }
},
};

MODULE_DEVICE_TABLE(vmbus, id_table);

/* The one and only one */
static struct hv_driver netvsc_drv = {
.id_table = id_table,
.probe = netvsc_probe,
.remove = netvsc_remove,
};
Expand Down

0 comments on commit 301917d

Please sign in to comment.