Staging: hv: match on DMI values to know if we should run.
commit73f9636ad6c99edb2dc124163977fb874aae7ab8
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Feb 2010 00:43:15 +0000 (25 16:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:49:45 +0000 (15 08:49 -0700)
tree210183a95520ef9ae00059ec5ae5b4b02ce51b7c
parentc69d2d2ac9612a192c4da34ee21f040dd6237833
Staging: hv: match on DMI values to know if we should run.

commit c22090facd354749cfe99a46e903449c7ac07788 upstream.

The HV core mucks around with specific irqs and other low-level stuff
and takes forever to determine that it really shouldn't be running on a
machine.  So instead, trigger off of the DMI system information and
error out much sooner.  This also allows the module loading tools to
recognize that this code should be loaded on this type of system.

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c