PATCH: Set latency when resetting it821x out of firmware mode

From: Alan Cox
Date: Tue Jan 17 2006 - 15:45:23 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.16-rc1/drivers/ide/pci/it821x.c linux-2.6.16-rc1/drivers/ide/pci/it821x.c
--- linux.vanilla-2.6.16-rc1/drivers/ide/pci/it821x.c 2006-01-17 15:36:23.000000000 +0000
+++ linux-2.6.16-rc1/drivers/ide/pci/it821x.c 2006-01-17 16:36:38.000000000 +0000
@@ -733,7 +733,7 @@

pci_write_config_dword(dev,0x4C, 0x02040204);
pci_write_config_byte(dev, 0x42, 0x36);
- pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0);
+ pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x20);
}

static unsigned int __devinit init_chipset_it821x(struct pci_dev *dev, const char *name)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/