diff options
| author | Kristen Carlson Accardi <kristen.c.accardi@intel.com> | 2006-10-19 16:27:39 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-10-21 15:10:10 -0400 |
| commit | 158f30c8945fea7cf0d0161cd9463cf2f3d2c19e (patch) | |
| tree | b81dfdefc0e81c2807d19b443dbfe7a8a0809832 | |
| parent | 7b7fc708b568a258595e1fa911b930a75ac07b48 (diff) | |
[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@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
| -rw-r--r-- | drivers/ata/ata_piix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 5719704eb0ee..5250187ffce2 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
| @@ -432,9 +432,9 @@ static const struct piix_map_db ich8_map_db = { | |||
| 432 | .present_shift = 8, | 432 | .present_shift = 8, |
| 433 | .map = { | 433 | .map = { |
| 434 | /* PM PS SM SS MAP */ | 434 | /* PM PS SM SS MAP */ |
| 435 | { P0, NA, P1, NA }, /* 00b (hardwired) */ | 435 | { P0, P2, P1, P3 }, /* 00b (hardwired when in AHCI) */ |
| 436 | { RV, RV, RV, RV }, | 436 | { RV, RV, RV, RV }, |
| 437 | { RV, RV, RV, RV }, /* 10b (never) */ | 437 | { IDE, IDE, NA, NA }, /* 10b (IDE mode) */ |
| 438 | { RV, RV, RV, RV }, | 438 | { RV, RV, RV, RV }, |
| 439 | }, | 439 | }, |
| 440 | }; | 440 | }; |
