lkml.org 
[lkml]   [2002]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.13 IDE PIO mode Fix
Uz.ytkownik Osamu Tomita napisa?:
> I found this bug in 2.5.10 first. And caused ext2 FS corruption.
> We are porting Linux to PC-9801 architecture (made by NEC Japan).
> It has PIO ONLY IDE I/F. So please check PIO mode too.

Hey I can't do everything. And I know that people like you will
check it anyway :-)... But seriously - Thank you very much for
the plague and indeed 16 bit transfers are something I see makes sense for
embedded platforms.


> # Our porting status - 2.2.x/2.4.x done and updating. 2.5.x partial.
>
> diff -urN linux-2.5.10/drivers/ide/ide-taskfile.c linux/drivers/ide/ide-taskfile.c
> --- linux-2.5.10/drivers/ide/ide-taskfile.c Wed Apr 24 16:15:19 2002
> +++ linux/drivers/ide/ide-taskfile.c Fri Apr 26 15:44:42 2002
> @@ -202,7 +202,7 @@
> ata_write_slow(drive, buffer, wcount);
> else
> #endif
> - ata_write_16(drive, buffer, wcount<<1);
> + ata_write_16(drive, buffer, wcount);
> }
> }

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.152 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site