uart_bus.h (119996) | uart_bus.h (120143) |
---|---|
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 119996 2003-09-11 23:06:42Z marcel $ | 26 * $FreeBSD: head/sys/dev/uart/uart_bus.h 120143 2003-09-17 01:41:21Z marcel $ |
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 --- 73 unchanged lines hidden (view full) --- 108extern struct uart_class uart_z8530_class; 109 110struct uart_softc { 111 KOBJ_FIELDS; 112 struct uart_class *sc_class; 113 struct uart_bas sc_bas; 114 device_t sc_dev; 115 | 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 --- 73 unchanged lines hidden (view full) --- 108extern struct uart_class uart_z8530_class; 109 110struct uart_softc { 111 KOBJ_FIELDS; 112 struct uart_class *sc_class; 113 struct uart_bas sc_bas; 114 device_t sc_dev; 115 |
116 struct mtx sc_hwmtx; /* Spinlock protecting hardware. */ 117 |
|
116 struct resource *sc_rres; /* Register resource. */ 117 int sc_rrid; 118 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ 119 struct resource *sc_ires; /* Interrupt resource. */ 120 void *sc_icookie; 121 int sc_irid; 122 123 int sc_callout:1; /* This UART is opened for callout. */ --- 98 unchanged lines hidden --- | 118 struct resource *sc_rres; /* Register resource. */ 119 int sc_rrid; 120 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ 121 struct resource *sc_ires; /* Interrupt resource. */ 122 void *sc_icookie; 123 int sc_irid; 124 125 int sc_callout:1; /* This UART is opened for callout. */ --- 98 unchanged lines hidden --- |