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