pata_via: fix VT6410/6415/6330 detection issue

When using VT6410/6415/6330 chips on some VIA's platforms, the HDD
connection to VT6410/6415/6330 cannot be detected.

It is because the driver detects wrong via_isa_bridge ID, and then
causes this issue to happen.

Signed-off-by: Joseph Chan <josephchan@via.com.tw>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

authored by JosephChan@via.com.tw and committed by Jeff Garzik bc8a6738 b72c4094

+4
+4
drivers/ata/pata_via.c
··· 576 u8 rev = isa->revision; 577 pci_dev_put(isa); 578 579 if (rev >= config->rev_min && rev <= config->rev_max) 580 break; 581 }
··· 576 u8 rev = isa->revision; 577 pci_dev_put(isa); 578 579 + if ((id->device == 0x0415 || id->device == 0x3164) && 580 + (config->id != id->device)) 581 + continue; 582 + 583 if (rev >= config->rev_min && rev <= config->rev_max) 584 break; 585 }