aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Brownfield <abrownfi@redhat.com>2013-02-21 14:01:50 -0500
committerJeff Garzik <jgarzik@redhat.com>2013-03-04 17:10:32 -0500
commit79e7654cae5a6d6cee333f0366023ecc3ff8abe0 (patch)
tree6cd03c188b760508e2198529ea394af68820310f
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
downloadkernel_goldelico_gta04-79e7654cae5a6d6cee333f0366023ecc3ff8abe0.zip
kernel_goldelico_gta04-79e7654cae5a6d6cee333f0366023ecc3ff8abe0.tar.gz
kernel_goldelico_gta04-79e7654cae5a6d6cee333f0366023ecc3ff8abe0.tar.bz2
ata_piix: Add MODULE_PARM_DESC to prefer_ms_hyperv
In reference to the commit cd006086fa5d91414d8ff9ff2b78fbb593878e3c "ata_piix: defer disks to the Hyper-V drivers by default", this trivial patch adds a description to prefer_ms_hyperv. [rvrbovsk@redhat.com: MODULE_PARM_DESC() string formatting modified] Signed-off-by: Andrew Brownfield <abrownfi@redhat.com> Signed-off-by: Radomir Vrbovsky <rvrbovsk@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/ata/ata_piix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index d2ba439..ffdd32d 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -1547,6 +1547,10 @@ static bool piix_broken_system_poweroff(struct pci_dev *pdev)
static int prefer_ms_hyperv = 1;
module_param(prefer_ms_hyperv, int, 0);
+MODULE_PARM_DESC(prefer_ms_hyperv,
+ "Prefer Hyper-V paravirtualization drivers instead of ATA, "
+ "0 - Use ATA drivers, "
+ "1 (Default) - Use the paravirtualization drivers.");
static void piix_ignore_devices_quirk(struct ata_host *host)
{