[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061019132739.10e504ef.kristen.c.accardi@intel.com>
Date: Thu, 19 Oct 2006 13:27:39 -0700
From: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
To: linux-ide@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, jeff@...zik.org
Subject: [patch] libata: use correct map_db values for ICH8
Use valid values for ICH8 map_db. With the old values, when the
controller was in Native mode, and SCC was 1 (drives configured for
IDE), any drive plugged into a slave port was not recognized. For
Combined Mode (and SCC is still 1), 2 is a value value for MAP.map_value,
and needs to be recognized.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
---
drivers/ata/ata_piix.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- 2.6-git.orig/drivers/ata/ata_piix.c
+++ 2.6-git/drivers/ata/ata_piix.c
@@ -432,9 +432,9 @@ static const struct piix_map_db ich8_map
.present_shift = 8,
.map = {
/* PM PS SM SS MAP */
- { P0, NA, P1, NA }, /* 00b (hardwired) */
+ { P0, P2, P1, P3 }, /* 00b (hardwired when in AHCI) */
{ RV, RV, RV, RV },
- { RV, RV, RV, RV }, /* 10b (never) */
+ { IDE, IDE, NA, NA }, /* 10b (IDE mode) */
{ RV, RV, RV, RV },
},
};
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists