Searched refs:sl82c105 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 334 static void chrp_pci_fixup_winbond_ata(struct pci_dev *sl82c105) in chrp_pci_fixup_winbond_ata() argument 342 if ((sl82c105->class & 5) != 5) { in chrp_pci_fixup_winbond_ata() 345 pci_read_config_byte(sl82c105, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_winbond_ata() 346 pci_write_config_byte(sl82c105, PCI_CLASS_PROG, progif | 0x05); in chrp_pci_fixup_winbond_ata() 347 sl82c105->class |= 0x05; in chrp_pci_fixup_winbond_ata() 349 pci_write_config_word(sl82c105, SL82C105_IDECSR, 0x0003); in chrp_pci_fixup_winbond_ata() 351 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_0, 0); in chrp_pci_fixup_winbond_ata() 352 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_1, 0); in chrp_pci_fixup_winbond_ata() 353 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_2, 0); in chrp_pci_fixup_winbond_ata() 354 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_3, 0); in chrp_pci_fixup_winbond_ata()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_sl82c105.c | 357 static const struct pci_device_id sl82c105[] = { variable 365 .id_table = sl82c105, 379 MODULE_DEVICE_TABLE(pci, sl82c105);
|