aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/cavium
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-07-14 17:23:49 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-07-14 17:23:49 +0000
commitec1172ed92815f504dce664c5a595d1c2d0a93cc (patch)
tree60503c3a3167a8a6d8558acd9fd3e369567f238a /sys/arm64/cavium
parentc55795369b7a785900f0979cf048f2959f882ebf (diff)
Notes
Diffstat (limited to 'sys/arm64/cavium')
-rw-r--r--sys/arm64/cavium/thunder_pcie_pem_fdt.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys/arm64/cavium/thunder_pcie_pem_fdt.c b/sys/arm64/cavium/thunder_pcie_pem_fdt.c
index 7f0398e28dec..f4e22316c5bb 100644
--- a/sys/arm64/cavium/thunder_pcie_pem_fdt.c
+++ b/sys/arm64/cavium/thunder_pcie_pem_fdt.c
@@ -109,7 +109,6 @@ thunder_pem_fdt_probe(device_t dev)
return (ENXIO);
}
-#ifdef INTRNG
static int
thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount,
int *irqs)
@@ -162,44 +161,6 @@ thunder_pem_fdt_map_msi(device_t pci, device_t child, int irq, uint64_t *addr,
NULL);
return (intr_map_msi(pci, child, msi_parent, irq, addr, data));
}
-#else
-static int
-thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount,
- int *irqs)
-{
-
- return (arm_alloc_msi(pci, child, count, maxcount, irqs));
-}
-
-static int
-thunder_pem_fdt_release_msi(device_t pci, device_t child, int count, int *irqs)
-{
-
- return (arm_release_msi(pci, child, count, irqs));
-}
-
-static int
-thunder_pem_fdt_alloc_msix(device_t pci, device_t child, int *irq)
-{
-
- return (arm_alloc_msix(pci, child, irq));
-}
-
-static int
-thunder_pem_fdt_release_msix(device_t pci, device_t child, int irq)
-{
-
- return (arm_release_msix(pci, child, irq));
-}
-
-static int
-thunder_pem_fdt_map_msi(device_t pci, device_t child, int irq, uint64_t *addr,
- uint32_t *data)
-{
-
- return (arm_map_msi(pci, child, irq, addr, data));
-}
-#endif
static int
thunder_pem_fdt_get_id(device_t dev, device_t child, enum pci_id_type type,