Deleted Added
full compact
exynos_uart.c (279724) exynos_uart.c (281438)
1/*
2 * Copyright (c) 2003 Marcel Moolenaar
3 * Copyright (c) 2007-2009 Andrew Turner
4 * Copyright (c) 2013 Ruslan Bukin <br@bsdpad.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2003 Marcel Moolenaar
3 * Copyright (c) 2007-2009 Andrew Turner
4 * Copyright (c) 2013 Ruslan Bukin <br@bsdpad.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/arm/samsung/exynos/exynos_uart.c 279724 2015-03-07 15:24:15Z ian $");
30__FBSDID("$FreeBSD: head/sys/arm/samsung/exynos/exynos_uart.c 281438 2015-04-11 17:16:23Z andrew $");
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/bus.h>
35#include <sys/conf.h>
36#include <sys/cons.h>
37#include <sys/tty.h>
38#include <sys/rman.h>

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

375
376static struct uart_class uart_exynos4210_class = {
377 "exynos4210 class",
378 exynos4210_methods,
379 1,
380 .uc_ops = &uart_exynos4210_ops,
381 .uc_range = 8,
382 .uc_rclk = 0,
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/bus.h>
35#include <sys/conf.h>
36#include <sys/cons.h>
37#include <sys/tty.h>
38#include <sys/rman.h>

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

375
376static struct uart_class uart_exynos4210_class = {
377 "exynos4210 class",
378 exynos4210_methods,
379 1,
380 .uc_ops = &uart_exynos4210_ops,
381 .uc_range = 8,
382 .uc_rclk = 0,
383 .uc_rshift = 0
383};
384
385static struct ofw_compat_data compat_data[] = {
386 {"exynos", (uintptr_t)&uart_exynos4210_class},
387 {NULL, (uintptr_t)NULL},
388};
389UART_FDT_CLASS_AND_DEVICE(compat_data);
384};
385
386static struct ofw_compat_data compat_data[] = {
387 {"exynos", (uintptr_t)&uart_exynos4210_class},
388 {NULL, (uintptr_t)NULL},
389};
390UART_FDT_CLASS_AND_DEVICE(compat_data);