diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-06 20:55:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-06 20:55:33 +0000 |
commit | d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76 (patch) | |
tree | 902ba8bee0eeb73fdb63e9402112c8c0ff4fb12f /target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch | |
parent | 226d8cb16579aecaaf52228177a795e276bf8f06 (diff) | |
download | master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.tar.gz master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.tar.bz2 master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.zip |
[kernel] refresh 2.6.26 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch b/target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch index 86a1cea9e2..d6489a7fb8 100644 --- a/target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch +++ b/target/linux/ixp4xx/patches-2.6.26/312-ixp4xx_pata_optimization.patch @@ -63,7 +63,7 @@ dev->xfer_shift = ATA_SHIFT_PIO; dev->flags |= ATA_DFLAG_PIO; } -@@ -48,6 +89,7 @@ +@@ -48,6 +89,7 @@ static unsigned int ixp4xx_mmio_data_xfe unsigned int i; unsigned int words = buflen >> 1; u16 *buf16 = (u16 *) buf; @@ -71,7 +71,7 @@ struct ata_port *ap = dev->link->ap; void __iomem *mmio = ap->ioaddr.data_addr; struct ixp4xx_pata_data *data = ap->host->dev->platform_data; -@@ -55,8 +97,34 @@ +@@ -55,8 +97,34 @@ static unsigned int ixp4xx_mmio_data_xfe /* set the expansion bus in 16bit mode and restore * 8 bit mode after the transaction. */ @@ -108,7 +108,7 @@ /* Transfer multiple of 2 bytes */ if (rw == READ) -@@ -81,8 +149,24 @@ +@@ -81,8 +149,24 @@ static unsigned int ixp4xx_mmio_data_xfe words++; } |