lkml.org 
[lkml]   [2008]   [Mar]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 16 Mar 2008 18:44:59 +0000
FromAlan Cox <>
SubjectRe: Linux 2.6.25-rc4
O> @@ -462,8 +462,7 @@ static ide_startstop_t ide_ata_error(ide_drive_t *drive, struct request *rq, u8
>  		}
>  	}
> 
> -	if ((stat & DRQ_STAT) && rq_data_dir(rq) == READ &&
> -	    (hwif->host_flags & IDE_HFLAG_ERROR_STOPS_FIFO) == 0)
> +	if ((stat & DRQ_STAT) && rq_data_dir(rq) == READ)
>  		try_to_flush_leftover_data(drive);

That is instant system death on some chipsets. The state machine on the
promise for example empties the FIFO and if you touch the data port again
before issuing a command you lock the PCI bus.

Alan


\
 
 \ /
  Last update: 2008-03-16 20:03    [from the cache]
©2003-2008