Searched refs:viaide (Results 1 – 1 of 1) sorted by relevance
366 static void chrp_pci_fixup_vt8231_ata(struct pci_dev *viaide) in chrp_pci_fixup_vt8231_ata() argument373 if (viaide->irq != 14) in chrp_pci_fixup_vt8231_ata()379 dev_info(&viaide->dev, "Fixing VIA IDE, force legacy mode on\n"); in chrp_pci_fixup_vt8231_ata()381 pci_read_config_byte(viaide, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_vt8231_ata()382 pci_write_config_byte(viaide, PCI_CLASS_PROG, progif & ~0x5); in chrp_pci_fixup_vt8231_ata()383 viaide->class &= ~0x5; in chrp_pci_fixup_vt8231_ata()