Re: libata and legacy ide pcmcia failure

From: Alan Cox
Date: Mon May 21 2007 - 08:38:36 EST


On Mon, May 21, 2007 at 01:50:48PM +0200, Tejun Heo wrote:
> > May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef)
> > May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode
> > (err_mask=0x4)
>
> Hmmm... It doesn't like SETXFERMASK either. Please try the attached patch.

The CF 1.1 command list is pretty short. Unfortunately the patch you've
given below won't itself cure the problem as some of the newer CF cards do
need SETXFERMASK issuing to do higher PIO modes.

The CFA people also didn't put the CFA version in the ident data. What might
work sanely would be

if (supports_pio == only_pio0 && cfa)

Alan

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