Staging: hv: match on DMI values to know if we should run.
commite5c79cb177f440c4c6ed1ac63d09370da92a2a8d
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 16:06:04 +0000 (15 09:06 -0700)
treedd5a2e97ab38af3a9b5d39988ed5f8d9aa17c44b
parent896d0d640ce75542d0697b4b25c2b1d85c859967
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