On Wed, Feb 16, 2005 at 06:21:46PM -0700, Ajit Prem wrote:
>
> It's just a dirty hack that works
> for the limited case where I'm
> using only 1 disk off port 1 on a
> board that makes 3 ports available.
> I'm not sure what the side effects
> are, or how things will work if
> all 3 ports are used (which I'm
> unable to test).
>
> Anyway, here's the hack I used:
>
> @@ -174,6 +174,9 @@
> if (ap && (!(ap->flags & ATA_FLAG_PORT_DISABLED))) {
> struct ata_queued_cmd *qc;
>
> + vsc_sata_scr_write(ap, VSC_SATA_SCR_ERROR_OFFSET, 0x00010001);
I think this should be 0x00010002, since you're trying to clear
bits 1 and 16.
> + readl((void *)ap->ioaddr.status_addr);
> +
> qc = ata_qc_from_tag(ap, ap->active_tag);
> if (qc && (!(qc->tf.ctl & ATA_NIEN)))
> handled += ata_host_intr(ap, qc);
jeremy
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html