Deleted Added
full compact
s3c2xx0var.h (205354) s3c2xx0var.h (210396)
1/* $NetBSD: s3c2xx0var.h,v 1.3 2003/08/05 11:26:54 bsh Exp $ */
2
3/*-
4 * Copyright (c) 2002 Fujitsu Component Limited
5 * Copyright (c) 2002 Genetec Corporation
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
28 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/* $NetBSD: s3c2xx0var.h,v 1.3 2003/08/05 11:26:54 bsh Exp $ */
2
3/*-
4 * Copyright (c) 2002 Fujitsu Component Limited
5 * Copyright (c) 2002 Genetec Corporation
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
28 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * $FreeBSD: head/sys/arm/s3c2xx0/s3c2xx0var.h 205354 2010-03-20 03:39:35Z imp $
34 * $FreeBSD: head/sys/arm/s3c2xx0/s3c2xx0var.h 210396 2010-07-22 23:12:19Z andrew $
35 */
36
37#ifndef _ARM_S3C2XX0VAR_H_
38#define _ARM_S3C2XX0VAR_H_
39
40#include <machine/bus.h>
41#include <sys/rman.h>
42

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

48struct s3c2xx0_softc {
49 device_t sc_dev;
50
51 s3c2xx0_cpu sc_cpu;
52
53 bus_space_tag_t sc_iot;
54
55 bus_space_handle_t sc_intctl_ioh;
35 */
36
37#ifndef _ARM_S3C2XX0VAR_H_
38#define _ARM_S3C2XX0VAR_H_
39
40#include <machine/bus.h>
41#include <sys/rman.h>
42

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

48struct s3c2xx0_softc {
49 device_t sc_dev;
50
51 s3c2xx0_cpu sc_cpu;
52
53 bus_space_tag_t sc_iot;
54
55 bus_space_handle_t sc_intctl_ioh;
56 bus_space_handle_t sc_clkman_ioh; /* Clock manager */
57 bus_space_handle_t sc_gpio_ioh; /* GPIO */
56 bus_space_handle_t sc_gpio_ioh; /* GPIO */
58 bus_space_handle_t sc_lcd_ioh; /* LCD */
59 bus_space_handle_t sc_rtc_ioh; /* real time clock */
60 bus_space_handle_t sc_mci_ioh; /* MMC/SD */
61 bus_space_handle_t sc_iic_ioh; /* IIC */
62 bus_space_handle_t sc_ohci_ioh; /* USB/OHCI */
57 bus_space_handle_t sc_clkman_ioh; /* Clock manager */
63 bus_space_handle_t sc_wdt_ioh; /* Watchdog Timer */
64
65 bus_dma_tag_t sc_dmat;
66
67 /* clock frequency */
68 int sc_fclk; /* CPU clock */
69 int sc_hclk; /* AHB bus clock */
70 int sc_pclk; /* peripheral clock */

--- 19 unchanged lines hidden ---
58 bus_space_handle_t sc_wdt_ioh; /* Watchdog Timer */
59
60 bus_dma_tag_t sc_dmat;
61
62 /* clock frequency */
63 int sc_fclk; /* CPU clock */
64 int sc_hclk; /* AHB bus clock */
65 int sc_pclk; /* peripheral clock */

--- 19 unchanged lines hidden ---