Staging: hv: match on DMI values to know if we should run.
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Feb 2010 00:43:15 +0000 (16:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:37 +0000 (16:42 -0800)
commitc22090facd354749cfe99a46e903449c7ac07788
tree5f4b6e72afe8dc866eb67fa5411f766c2f1cc44d
parent9a775dbd4e8c87b7d35549183145321c7205404e
Staging: hv: match on DMI values to know if we should run.

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c