Re: Linux 2.6.25-rc4

From: Linus Torvalds
Date: Sun Mar 16 2008 - 15:41:24 EST




On Sun, 16 Mar 2008, Alan Cox wrote:
>
> No it doesn't. DRQ simply means "drive has more data for the controller
> if you want it". Interrupts are controlled via IEN and the interrupt line.

A _lot_ of chips require you to clear the DRQ by taking the data they
have.

> If the drive wants to give us data and we end the transaction that is
> fine. In practice a tiny few devices crap themselves if we don't.

More than a few tiny devices from what I remember. It tends to be the
other way around - most devices do *not* want to get new commands until
you've finished the previous one by draining the queues.

Linus
--
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/