mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
[libata ata_piix] Fix ICH6/7 map value interpretation
The previous change failed to properly mask out unrelated bits, which resulted in a failure to detect devices.
This commit is contained in:
parent
c2bd58047b
commit
b376bc1f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||
pci_read_config_byte(pdev, ICH5_PMR, &tmp);
|
||||
|
||||
if (host_flags & PIIX_FLAG_COMBINED_ICH6) {
|
||||
switch (tmp) {
|
||||
switch (tmp & 0x3) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue