diff options
author | ian <ian@FreeBSD.org> | 2014-01-05 22:36:34 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-01-05 22:36:34 +0000 |
commit | 420aa503c6704f4bb0c18541b7c7c193388555e1 (patch) | |
tree | e83eb08af479512a00f04c4a944ab592618fc11b /sys/arm/mv/mvvar.h | |
parent | 6f9ebfa0c3159b8dd19fa1a837691a7deaaa3842 (diff) | |
download | FreeBSD-src-420aa503c6704f4bb0c18541b7c7c193388555e1.zip FreeBSD-src-420aa503c6704f4bb0c18541b7c7c193388555e1.tar.gz |
Remove dev/fdt/fdt_pci.c, which was code specific to Marvell ARM SoCs,
related to setting up static device mappings. Since it was only used by
arm/mv/mv_pci.c, it's now just static functions within that file, plus
one public function that gets called only from arm/mv/mv_machdep.c.
Diffstat (limited to 'sys/arm/mv/mvvar.h')
-rw-r--r-- | sys/arm/mv/mvvar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arm/mv/mvvar.h b/sys/arm/mv/mvvar.h index 54abf46..0b72dcb 100644 --- a/sys/arm/mv/mvvar.h +++ b/sys/arm/mv/mvvar.h @@ -46,6 +46,8 @@ #include <vm/pmap.h> #include <machine/vm.h> +#include <dev/ofw/openfirm.h> + #define MV_TYPE_PCI 0 #define MV_TYPE_PCIE 1 @@ -135,4 +137,9 @@ uint32_t mv_drbl_get_msg(int mnr, int dir, int unit); int mv_msi_data(int irq, uint64_t *addr, uint32_t *data); +struct arm_devmap_entry; + +int mv_pci_devmap(phandle_t, struct arm_devmap_entry *, vm_offset_t, + vm_offset_t); + #endif /* _MVVAR_H_ */ |