[PATCH] ide: disable TRIM until block layer support gets merged

From: Bartlomiej Zolnierkiewicz
Date: Tue Apr 07 2009 - 18:42:59 EST


Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
drivers/ide/ide.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 7b7cd76..4ed66d0 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -178,11 +178,14 @@ EXPORT_SYMBOL_GPL(ide_pci_clk);
module_param_named(pci_clock, ide_pci_clk, int, 0);
MODULE_PARM_DESC(pci_clock, "PCI bus clock frequency (in MHz)");

+/* needs block layer support */
+#if 0
int ide_trim = 0;
EXPORT_SYMBOL_GPL(ide_trim);

module_param_named(trim, ide_trim, int, 0);
MODULE_PARM_DESC(trim, "TRIM support (0=off, 1=on)");
+#endif

static int ide_set_dev_param_mask(const char *s, struct kernel_param *kp)
{
--
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/