diff options
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.16/70-artop-latency.patch')
| -rw-r--r-- | packages/linux/ixp4xx-kernel/2.6.16/70-artop-latency.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.16/70-artop-latency.patch b/packages/linux/ixp4xx-kernel/2.6.16/70-artop-latency.patch new file mode 100644 index 0000000000..2cda5789ce --- /dev/null +++ b/packages/linux/ixp4xx-kernel/2.6.16/70-artop-latency.patch @@ -0,0 +1,21 @@ +--- + drivers/scsi/pata_artop.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- linux-ixp4xx.orig/drivers/scsi/pata_artop.c 2006-02-21 02:05:33.000000000 +0100 ++++ linux-ixp4xx/drivers/scsi/pata_artop.c 2006-02-21 02:49:47.000000000 +0100 +@@ -450,6 +450,14 @@ static int artop_init_one (struct pci_de + pci_read_config_byte(pdev, 0x49, ®); + pci_write_config_byte(pdev, 0x49, reg & ~ 0x30); + ++ /* PCI latency must be > 0x80 for burst mode, tweak it ++ * if required. ++ */ ++ pci_read_config_byte(pdev, PCI_LATENCY_TIMER, ®); ++ if (reg <= 0x80) ++ pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x90); ++ ++ + /* Enable IRQ output and burst mode */ + pci_read_config_byte(pdev, 0x4a, ®); + pci_write_config_byte(pdev, 0x4a, (reg & ~0x01) | 0x80); |
