Deleted Added
full compact
mvwin.h (235609) mvwin.h (236990)
1/*-
2 * Copyright (C) 2007-2008 MARVELL INTERNATIONAL LTD.
3 * All rights reserved.
4 *
5 * Developed by Semihalf.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
1/*-
2 * Copyright (C) 2007-2008 MARVELL INTERNATIONAL LTD.
3 * All rights reserved.
4 *
5 * Developed by Semihalf.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * $FreeBSD: head/sys/arm/mv/mvwin.h 235609 2012-05-18 14:41:14Z gber $
31 * $FreeBSD: head/sys/arm/mv/mvwin.h 236990 2012-06-13 04:59:00Z imp $
32 */
33
34#ifndef _MVWIN_H_
35#define _MVWIN_H_
36
37/*
38 * Physical addresses of integrated SoC peripherals
39 */
40#define MV_PHYS_BASE 0xF1000000
41#define MV_SIZE 0x100000
42
43/*
44 * Decode windows addresses (physical)
45 */
46#define MV_PCIE_IO_PHYS_BASE (MV_PHYS_BASE + MV_SIZE)
47#define MV_PCIE_IO_BASE MV_PCIE_IO_PHYS_BASE
48#define MV_PCIE_IO_SIZE (1024 * 1024)
32 */
33
34#ifndef _MVWIN_H_
35#define _MVWIN_H_
36
37/*
38 * Physical addresses of integrated SoC peripherals
39 */
40#define MV_PHYS_BASE 0xF1000000
41#define MV_SIZE 0x100000
42
43/*
44 * Decode windows addresses (physical)
45 */
46#define MV_PCIE_IO_PHYS_BASE (MV_PHYS_BASE + MV_SIZE)
47#define MV_PCIE_IO_BASE MV_PCIE_IO_PHYS_BASE
48#define MV_PCIE_IO_SIZE (1024 * 1024)
49#define MV_PCI_IO_PHYS_BASE (MV_PCIE_IO_PHYS_BASE + MV_PCIE_IO_SIZE)
49#define MV_PCI_IO_PHYS_BASE (MV_PCIE_IO_PHYS_BASE + MV_PCIE_IO_SIZE)
50#define MV_PCI_IO_BASE MV_PCI_IO_PHYS_BASE
51#define MV_PCI_IO_SIZE (1024 * 1024)
52
53#define MV_PCIE_MEM_PHYS_BASE (MV_PCI_IO_PHYS_BASE + MV_PCI_IO_SIZE)
54#define MV_PCIE_MEM_BASE MV_PCIE_MEM_PHYS_BASE
55#define MV_PCIE_MEM_SIZE (64 * 1024 * 1024)
56#define MV_PCI_MEM_PHYS_BASE (MV_PCIE_MEM_PHYS_BASE + MV_PCIE_MEM_SIZE)
57#define MV_PCI_MEM_BASE MV_PCI_MEM_PHYS_BASE

--- 224 unchanged lines hidden ---
50#define MV_PCI_IO_BASE MV_PCI_IO_PHYS_BASE
51#define MV_PCI_IO_SIZE (1024 * 1024)
52
53#define MV_PCIE_MEM_PHYS_BASE (MV_PCI_IO_PHYS_BASE + MV_PCI_IO_SIZE)
54#define MV_PCIE_MEM_BASE MV_PCIE_MEM_PHYS_BASE
55#define MV_PCIE_MEM_SIZE (64 * 1024 * 1024)
56#define MV_PCI_MEM_PHYS_BASE (MV_PCIE_MEM_PHYS_BASE + MV_PCIE_MEM_SIZE)
57#define MV_PCI_MEM_BASE MV_PCI_MEM_PHYS_BASE

--- 224 unchanged lines hidden ---