Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186598
b: refs/heads/master
c: 9a775db
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 4, 2010
1 parent 4167d56 commit 4b9f922
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fa37b1ee936811c8aa8fcb72d189d02cf1575b9
refs/heads/master: 9a775dbd4e8c87b7d35549183145321c7205404e
17 changes: 17 additions & 0 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/sysctl.h>
#include <linux/pci.h>
#include "VersionInfo.h"
#include "osd.h"
#include "logging.h"
Expand Down Expand Up @@ -974,6 +975,22 @@ static void __exit vmbus_exit(void)
return;
}

/*
* We use a PCI table to determine if we should autoload this driver This is
* needed by distro tools to determine if the hyperv drivers should be
* installed and/or configured. We don't do anything else with the table, but
* it needs to be present.
*
* We might consider triggering off of DMI table info as well, as that does
* decribe the virtual machine being run on, but not all configuration tools
* seem to be able to handle DMI device ids properly.
*/
const static struct pci_device_id microsoft_hv_pci_table[] = {
{ PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */
{ 0 }
};
MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table);

MODULE_LICENSE("GPL");
MODULE_VERSION(HV_DRV_VERSION);
module_param(vmbus_irq, int, S_IRUGO);
Expand Down

0 comments on commit 4b9f922

Please sign in to comment.