Home
last modified time | relevance | path

Searched refs:sl82c105 (Results 1 – 1 of 1) sorted by relevance

/arch/powerpc/platforms/chrp/
Dpci.c327 static void chrp_pci_fixup_winbond_ata(struct pci_dev *sl82c105) in chrp_pci_fixup_winbond_ata() argument
335 if ((sl82c105->class & 5) != 5) { in chrp_pci_fixup_winbond_ata()
338 pci_read_config_byte(sl82c105, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_winbond_ata()
339 pci_write_config_byte(sl82c105, PCI_CLASS_PROG, progif | 0x05); in chrp_pci_fixup_winbond_ata()
340 sl82c105->class |= 0x05; in chrp_pci_fixup_winbond_ata()
342 pci_write_config_word(sl82c105, SL82C105_IDECSR, 0x0003); in chrp_pci_fixup_winbond_ata()
344 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_0, 0); in chrp_pci_fixup_winbond_ata()
345 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_1, 0); in chrp_pci_fixup_winbond_ata()
346 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_2, 0); in chrp_pci_fixup_winbond_ata()
347 pci_write_config_dword(sl82c105, PCI_BASE_ADDRESS_3, 0); in chrp_pci_fixup_winbond_ata()