Skip to content

Commit

Permalink
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/k…
Browse files Browse the repository at this point in the history
…ernel/git/jgarzik/libata-dev

* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
  pata_via: fix VT6410/6415/6330 detection issue
  • Loading branch information
torvalds committed Mar 29, 2010
2 parents 6631424 + bc8a673 commit 7b12887
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/ata/pata_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,10 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
u8 rev = isa->revision;
pci_dev_put(isa);

if ((id->device == 0x0415 || id->device == 0x3164) &&
(config->id != id->device))
continue;

if (rev >= config->rev_min && rev <= config->rev_max)
break;
}
Expand Down

0 comments on commit 7b12887

Please sign in to comment.