aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches/998-VT6421.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-12 02:02:58 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-12 02:02:58 +0000
commit9ba31e3b0819f306c121e4404873bda4da655203 (patch)
tree6870fa2b5548592459151c5a5d25ceef5e45892d /target/linux/ixp4xx/patches/998-VT6421.patch
parent0ef986bbe27767ff3937b53a93db84b966569e73 (diff)
downloadmaster-187ad058-9ba31e3b0819f306c121e4404873bda4da655203.tar.gz
master-187ad058-9ba31e3b0819f306c121e4404873bda4da655203.tar.bz2
master-187ad058-9ba31e3b0819f306c121e4404873bda4da655203.zip
nuke most of the old ixp4xx patchsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11778 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches/998-VT6421.patch')
-rw-r--r--target/linux/ixp4xx/patches/998-VT6421.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/ixp4xx/patches/998-VT6421.patch b/target/linux/ixp4xx/patches/998-VT6421.patch
deleted file mode 100644
index a7f28e9355..0000000000
--- a/target/linux/ixp4xx/patches/998-VT6421.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-I think that I've found and fixed the problem. There is a copy/paste bug in
-vt6421_set_dma_mode() function which causes wrong values to be written to
-PATA_UDMA_TIMING register.
-
-
-This patch fixes a copy/paste bug that breaks DMA modes on VT6421 PATA port.
-
-Signed-off-by: Ondrej Zary <linux@rain...>
-Index: linux-2.6.21.7/drivers/ata/sata_via.c
-===================================================================
---- linux-2.6.21.7.orig/drivers/ata/sata_via.c
-+++ linux-2.6.21.7/drivers/ata/sata_via.c
-@@ -380,7 +380,7 @@ static void vt6421_set_dma_mode(struct a
- {
- struct pci_dev *pdev = to_pci_dev(ap->host->dev);
- static const u8 udma_bits[] = { 0xEE, 0xE8, 0xE6, 0xE4, 0xE2, 0xE1, 0xE0, 0xE0 };
-- pci_write_config_byte(pdev, PATA_UDMA_TIMING, udma_bits[adev->pio_mode - XFER_UDMA_0]);
-+ pci_write_config_byte(pdev, PATA_UDMA_TIMING, udma_bits[adev->dma_mode - XFER_UDMA_0]);
- }
-
- static int vt6421_port_start(struct ata_port *ap)