diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:17 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:17 -0400 |
commit | 0794230fd4b1bf61af8aabd7e987a595d6dbc430 (patch) | |
tree | 2fb81bcfbfaccfa65999ecf7165f025441d2ce35 /drivers | |
parent | d51f19c86583ca70468883d8137a92689f1a80c1 (diff) |
cmd64x: cleanup ->init_chipset method
Remove verbose reporting for CMD646 (PCI device revision is always
logged by IDE PCI layer).
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/pci/cmd64x.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index fc0333c9a4e5..4eebcf09e0d8 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c | |||
@@ -334,24 +334,6 @@ static unsigned int __devinit init_chipset_cmd64x(struct pci_dev *dev, const cha | |||
334 | { | 334 | { |
335 | u8 mrdmode = 0; | 335 | u8 mrdmode = 0; |
336 | 336 | ||
337 | if (dev->device == PCI_DEVICE_ID_CMD_646) { | ||
338 | |||
339 | switch (dev->revision) { | ||
340 | case 0x07: | ||
341 | case 0x05: | ||
342 | printk("%s: UltraDMA capable\n", name); | ||
343 | break; | ||
344 | case 0x03: | ||
345 | default: | ||
346 | printk("%s: MultiWord DMA force limited\n", name); | ||
347 | break; | ||
348 | case 0x01: | ||
349 | printk("%s: MultiWord DMA limited, " | ||
350 | "IRQ workaround enabled\n", name); | ||
351 | break; | ||
352 | } | ||
353 | } | ||
354 | |||
355 | /* Set a good latency timer and cache line size value. */ | 337 | /* Set a good latency timer and cache line size value. */ |
356 | (void) pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64); | 338 | (void) pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64); |
357 | /* FIXME: pci_set_master() to ensure a good latency timer value */ | 339 | /* FIXME: pci_set_master() to ensure a good latency timer value */ |