Deleted Added
sdiff udiff text old ( 277132 ) new ( 279724 )
full compact
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 277132 2015-01-13 15:04:28Z br $");
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>
39#include <machine/bus.h>
40#include <machine/intr.h>
41
42#include <dev/uart/uart.h>
43#include <dev/uart/uart_cpu.h>
44#include <dev/uart/uart_bus.h>
45
46#include <arm/samsung/exynos/exynos_uart.h>
47
48#include "uart_if.h"
49
50#define DEF_CLK 100000000
51

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

367
368static int
369exynos4210_bus_ioctl(struct uart_softc *sc, int request, intptr_t data)
370{
371
372 return (EINVAL);
373}
374
375struct uart_class uart_exynos4210_class = {
376 "exynos4210 class",
377 exynos4210_methods,
378 1,
379 .uc_ops = &uart_exynos4210_ops,
380 .uc_range = 8,
381 .uc_rclk = 0,
382};