From 0bea580a1040c237baec451387db658d3ac8fa3a Mon Sep 17 00:00:00 2001 From: gber Date: Fri, 14 Sep 2012 09:59:27 +0000 Subject: Enable PCI for Armada XP Obtained from: Semihalf --- sys/arm/conf/ARMADAXP | 3 +++ sys/arm/mv/armadaxp/armadaxp.c | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/arm/conf/ARMADAXP b/sys/arm/conf/ARMADAXP index 5a4d5c0..1d54e47 100644 --- a/sys/arm/conf/ARMADAXP +++ b/sys/arm/conf/ARMADAXP @@ -96,6 +96,9 @@ options HZ=1000 options DEVICE_POLLING device vlan +#PCI/PCIE +device pci + #FDT options FDT options FDT_DTB_STATIC diff --git a/sys/arm/mv/armadaxp/armadaxp.c b/sys/arm/mv/armadaxp/armadaxp.c index ffb02c5..ee58760 100644 --- a/sys/arm/mv/armadaxp/armadaxp.c +++ b/sys/arm/mv/armadaxp/armadaxp.c @@ -160,11 +160,3 @@ get_l2clk(void) return (l2clk_freq); } -int -fdt_pci_devmap(phandle_t node, struct pmap_devmap *devmap, vm_offset_t io_va, - vm_offset_t mem_va) -{ - - return (0); -} - -- cgit v1.1