hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/ia64/include/asm/pci.h
....@@ -39,9 +39,9 @@
3939 struct vm_area_struct *vma,
4040 enum pci_mmap_state mmap_state);
4141
42
-#define pci_get_legacy_mem platform_pci_get_legacy_mem
43
-#define pci_legacy_read platform_pci_legacy_read
44
-#define pci_legacy_write platform_pci_legacy_write
42
+char *pci_get_legacy_mem(struct pci_bus *bus);
43
+int pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size);
44
+int pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size);
4545
4646 struct pci_controller {
4747 struct acpi_device *companion;
....@@ -69,7 +69,4 @@
6969 return channel ? isa_irq_to_vector(15) : isa_irq_to_vector(14);
7070 }
7171
72
-#ifdef CONFIG_INTEL_IOMMU
73
-extern void pci_iommu_alloc(void);
74
-#endif
7572 #endif /* _ASM_IA64_PCI_H */