Skip to content

Commit

Permalink
[libata ata_piix] Fix ICH6/7 map value interpretation
Browse files Browse the repository at this point in the history
The previous change failed to properly mask out unrelated bits, which
resulted in a failure to detect devices.
  • Loading branch information
Jeff Garzik committed Jan 28, 2006
1 parent c2bd580 commit b376bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ata_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b376bc1

Please sign in to comment.