diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:29 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:29 -0400 |
commit | ebae41a5a0583fb732c41445df4ac2c41016df74 (patch) | |
tree | 0896acda21576aabf92ff7e7b4b99fac26d9f007 /drivers/ide/ide.c | |
parent | 10569713c78f3c499745651aebc90b0d1c454c28 (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.c | 12 |
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 | ||
1119 | int ide_vlb_clk; | ||
1120 | EXPORT_SYMBOL_GPL(ide_vlb_clk); | ||
1121 | |||
1122 | module_param_named(vlb_clock, ide_vlb_clk, int, 0); | ||
1123 | MODULE_PARM_DESC(vlb_clock, "VLB clock frequency (in MHz)"); | ||
1124 | |||
1125 | int ide_pci_clk; | ||
1126 | EXPORT_SYMBOL_GPL(ide_pci_clk); | ||
1127 | |||
1128 | module_param_named(pci_clock, ide_pci_clk, int, 0); | ||
1129 | MODULE_PARM_DESC(pci_clock, "PCI bus clock frequency (in MHz)"); | ||
1130 | |||
1119 | static unsigned int ide_ignore_cable; | 1131 | static unsigned int ide_ignore_cable; |
1120 | 1132 | ||
1121 | static int ide_set_ignore_cable(const char *s, struct kernel_param *kp) | 1133 | static int ide_set_ignore_cable(const char *s, struct kernel_param *kp) |