Deleted Added
full compact
uart_bus.h (234194) uart_bus.h (246243)
1/*-
2 * Copyright (c) 2003 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2003 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/uart/uart_bus.h 234194 2012-04-12 18:46:48Z grehan $
26 * $FreeBSD: head/sys/dev/uart/uart_bus.h 246243 2013-02-02 11:38:26Z avg $
27 */
28
29#ifndef _DEV_UART_BUS_H_
30#define _DEV_UART_BUS_H_
31
32#ifndef KLD_MODULE
33#include "opt_uart.h"
34#endif

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

133 } sc_u;
134};
135
136extern devclass_t uart_devclass;
137extern char uart_driver_name[];
138
139int uart_bus_attach(device_t dev);
140int uart_bus_detach(device_t dev);
27 */
28
29#ifndef _DEV_UART_BUS_H_
30#define _DEV_UART_BUS_H_
31
32#ifndef KLD_MODULE
33#include "opt_uart.h"
34#endif

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

133 } sc_u;
134};
135
136extern devclass_t uart_devclass;
137extern char uart_driver_name[];
138
139int uart_bus_attach(device_t dev);
140int uart_bus_detach(device_t dev);
141int uart_bus_resume(device_t dev);
141serdev_intr_t *uart_bus_ihand(device_t dev, int ipend);
142int uart_bus_ipend(device_t dev);
143int uart_bus_probe(device_t dev, int regshft, int rclk, int rid, int chan);
144int uart_bus_sysdev(device_t dev);
145
146void uart_sched_softih(struct uart_softc *, uint32_t);
147
148int uart_tty_attach(struct uart_softc *);

--- 68 unchanged lines hidden ---
142serdev_intr_t *uart_bus_ihand(device_t dev, int ipend);
143int uart_bus_ipend(device_t dev);
144int uart_bus_probe(device_t dev, int regshft, int rclk, int rid, int chan);
145int uart_bus_sysdev(device_t dev);
146
147void uart_sched_softih(struct uart_softc *, uint32_t);
148
149int uart_tty_attach(struct uart_softc *);

--- 68 unchanged lines hidden ---