unmodified_drivers: enable unplug per default
authorOlaf Hering <olaf@aepfle.de>
Fri, 20 Sep 2013 09:41:08 +0000 (11:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Sep 2013 09:41:08 +0000 (11:41 +0200)
commitdf17e9c889c48c9c10aa3f9dd0bb11077f54efc4
tree8af3b5600c6d96809fca8b7667df209d6ca5c83a
parent5ae3285f247e04db6145fc658e5ea2c2cb2df7c6
unmodified_drivers: enable unplug per default

Since xen-3.3 an official unplug protocol for emulated hardware is
available in the toolstack. The pvops kernel does the unplug per
default, so it is safe to do it also in the drivers for forward ported
xenlinux.
Currently its required to load xen-platform-pci with the module
parameter dev_unplug=all, which is cumbersome.
Also recognize the dev_unplug=never parameter, which provides the
default before this patch.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c