mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/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
This commit is contained in:
commit
7b12887244
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue