diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-04-24 14:34:20 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-04-24 14:34:20 +0000 |
commit | 7477ccec2848a590bbfe8cd091a08fed2ea357f0 (patch) | |
tree | 8708242774c1f7b797259655175427b92fe61068 /target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch | |
parent | 0f98225a04a1ff286c3ad53b6b90053eead218ef (diff) | |
download | upstream-7477ccec2848a590bbfe8cd091a08fed2ea357f0.tar.gz upstream-7477ccec2848a590bbfe8cd091a08fed2ea357f0.tar.bz2 upstream-7477ccec2848a590bbfe8cd091a08fed2ea357f0.zip |
[rb532] remove 2.6.27 we did not use it and went to 2.6.28 directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15387 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch')
-rw-r--r-- | target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch b/target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch deleted file mode 100644 index 1a7cbd0ef3..0000000000 --- a/target/linux/rb532/patches-2.6.27/006-pata_rb532_cf_fix_prototype.patch +++ /dev/null @@ -1,35 +0,0 @@ -Per definition, this function should return the number of bytes -consumed. Also take care of the unlikely case when buflen is not a -multiple of four; while transferring, the division cuts the remaining -bytes, so alter the return value accordingly. - -Signed-off-by: Phil Sutter <n0-1@freewrt.org> ---- - drivers/ata/pata_rb532_cf.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c -index b919012..95a0d66 100644 ---- a/drivers/ata/pata_rb532_cf.c -+++ b/drivers/ata/pata_rb532_cf.c -@@ -75,7 +75,7 @@ static void rb532_pata_exec_command(struct ata_port *ap, - rb532_pata_finish_io(ap); - } - --static void rb532_pata_data_xfer(struct ata_device *adev, -+static unsigned int rb532_pata_data_xfer(struct ata_device *adev, - unsigned char *buf, unsigned int buflen, int write_data) - { - struct ata_port *ap = adev->link->ap; -@@ -87,6 +87,7 @@ static void rb532_pata_data_xfer(struct ata_device *adev, - readsl(ioaddr, buf, buflen / sizeof(u32)); - - rb532_pata_finish_io(adev->link->ap); -+ return buflen - (buflen % sizeof(u32)); - } - - static void rb532_pata_freeze(struct ata_port *ap) --- -1.5.6.4 - - |