diff options
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/ops-tx4927.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/pci/ops-tx4927.c b/arch/mips/pci/ops-tx4927.c index 6d844094ef5d..038e311b069d 100644 --- a/arch/mips/pci/ops-tx4927.c +++ b/arch/mips/pci/ops-tx4927.c | |||
@@ -194,6 +194,28 @@ static struct { | |||
194 | .gbwc = 0xfe0, /* 4064 GBUSCLK for CCFG.GTOT=0b11 */ | 194 | .gbwc = 0xfe0, /* 4064 GBUSCLK for CCFG.GTOT=0b11 */ |
195 | }; | 195 | }; |
196 | 196 | ||
197 | char *__devinit tx4927_pcibios_setup(char *str) | ||
198 | { | ||
199 | unsigned long val; | ||
200 | |||
201 | if (!strncmp(str, "trdyto=", 7)) { | ||
202 | if (strict_strtoul(str + 7, 0, &val) == 0) | ||
203 | tx4927_pci_opts.trdyto = val; | ||
204 | return NULL; | ||
205 | } | ||
206 | if (!strncmp(str, "retryto=", 8)) { | ||
207 | if (strict_strtoul(str + 8, 0, &val) == 0) | ||
208 | tx4927_pci_opts.retryto = val; | ||
209 | return NULL; | ||
210 | } | ||
211 | if (!strncmp(str, "gbwc=", 5)) { | ||
212 | if (strict_strtoul(str + 5, 0, &val) == 0) | ||
213 | tx4927_pci_opts.gbwc = val; | ||
214 | return NULL; | ||
215 | } | ||
216 | return str; | ||
217 | } | ||
218 | |||
197 | void __init tx4927_pcic_setup(struct tx4927_pcic_reg __iomem *pcicptr, | 219 | void __init tx4927_pcic_setup(struct tx4927_pcic_reg __iomem *pcicptr, |
198 | struct pci_controller *channel, int extarb) | 220 | struct pci_controller *channel, int extarb) |
199 | { | 221 | { |