Thread (7 messages) 7 messages, 2 authors, 2011-02-11

Re: [PATCH 21/20] ata_piix: add new PIIX_FLAG_* flags

From: Sergei Shtylyov <hidden>
Date: 2011-02-08 18:31:50
Also in: lkml

Bartlomiej Zolnierkiewicz wrote:
quoted
quoted
Turn open-coded checks in piix_set_timings() into PIIX_FLAG_* flags
per suggestion from Alan Cox.
Suggested-by: Alan Cox <redacted>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
[...]
quoted
quoted
Index: b/drivers/ata/ata_piix.c
===================================================================
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -133,6 +133,8 @@ enum {
       PIIX_FLAG_CHECKINTR     = (1 << 28), /* make sure PCI INTx enabled
*/
       PIIX_FLAG_SIDPR         = (1 << 29), /* SATA idx/data pair regs */
+       PIIX_FLAG_NO_SITRE      = (1 << 30), /* no SITRE register */
quoted
  The register in question is called SIDETIM, SITRE is a bit that enables
its use.
ICH4-M databook that I have at hand (Intel IDE PRM seems to be gone
from Intel's website, though I'm sure I have a backup _somewhere_) it
is called SLV_IDETIM so lets just stick with the current naming for
now..
    Why not just say that SITRE is a bit, not register? :-)
Thanks,
Bartlomiej
WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help