aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:29 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:29 -0400
commitebae41a5a0583fb732c41445df4ac2c41016df74 (patch)
tree0896acda21576aabf92ff7e7b4b99fac26d9f007 /drivers/ide/ide.c
parent10569713c78f3c499745651aebc90b0d1c454c28 (diff)
ide: add "vlb|pci_clock=" parameter
* Add "vlb_clock=" parameter for specifying VLB clock frequency (in MHz). * Add "pci_clock=" parameter for specifying PCI bus clock frequency (in MHz). While at it: * qd65xx.c: rename {active,recovery}_cycle variables to {act,rec}_cyc. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 8eb7f83b0dda..3d1fc5fdc2b2 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1116,6 +1116,18 @@ static void ide_port_class_release(struct device *portdev)
1116 put_device(&hwif->gendev); 1116 put_device(&hwif->gendev);
1117} 1117}
1118 1118
1119int ide_vlb_clk;
1120EXPORT_SYMBOL_GPL(ide_vlb_clk);
1121
1122module_param_named(vlb_clock, ide_vlb_clk, int, 0);
1123MODULE_PARM_DESC(vlb_clock, "VLB clock frequency (in MHz)");
1124
1125int ide_pci_clk;
1126EXPORT_SYMBOL_GPL(ide_pci_clk);
1127
1128module_param_named(pci_clock, ide_pci_clk, int, 0);
1129MODULE_PARM_DESC(pci_clock, "PCI bus clock frequency (in MHz)");
1130
1119static unsigned int ide_ignore_cable; 1131static unsigned int ide_ignore_cable;
1120 1132
1121static int ide_set_ignore_cable(const char *s, struct kernel_param *kp) 1133static int ide_set_ignore_cable(const char *s, struct kernel_param *kp)