Deleted Added
full compact
digi.h (118607) digi.h (130585)
1/*-
2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Slawa Olhovchenkov
4 * John Prince <johnp@knight-trosoft.com>
5 * Eric Hernes
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Slawa Olhovchenkov
4 * John Prince <johnp@knight-trosoft.com>
5 * Eric Hernes
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/dev/digi/digi.h 118607 2003-08-07 15:04:27Z jhb $
29 * $FreeBSD: head/sys/dev/digi/digi.h 130585 2004-06-16 09:47:26Z phk $
30 */
31
32#define W(p) (*(u_int16_t *)(p))
33#define vW(p) (*(u_int16_t volatile *)(p))
34#define D(p) (*(u_int32_t *)(p))
35#define vD(p) (*(u_int32_t volatile *)(p))
36
37#define CE_OVERRUN 0

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

67#define PAUSE_RX 16
68
69 int opencnt;
70 u_short txbufsize;
71 u_short rxbufsize;
72 volatile struct board_chan *bc;
73 struct tty *tp;
74
30 */
31
32#define W(p) (*(u_int16_t *)(p))
33#define vW(p) (*(u_int16_t volatile *)(p))
34#define D(p) (*(u_int32_t *)(p))
35#define vD(p) (*(u_int32_t volatile *)(p))
36
37#define CE_OVERRUN 0

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

67#define PAUSE_RX 16
68
69 int opencnt;
70 u_short txbufsize;
71 u_short rxbufsize;
72 volatile struct board_chan *bc;
73 struct tty *tp;
74
75 dev_t dev[6];
75 struct cdev *dev[6];
76
77 u_char *txbuf;
78 u_char *rxbuf;
79 u_char txwin;
80 u_char rxwin;
81
82 u_char pnum; /* port number */
83

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

159 struct resource *mem;
160 int mrid;
161 struct resource *irq;
162 int irqrid;
163 struct resource *io;
164 int iorid;
165 void *irqHandler;
166 int unit;
76
77 u_char *txbuf;
78 u_char *rxbuf;
79 u_char txwin;
80 u_char rxwin;
81
82 u_char pnum; /* port number */
83

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

159 struct resource *mem;
160 int mrid;
161 struct resource *irq;
162 int irqrid;
163 struct resource *io;
164 int iorid;
165 void *irqHandler;
166 int unit;
167 dev_t ctldev;
167 struct cdev *ctldev;
168 } res;
169
170 u_char *vmem; /* virtual memory address */
171 u_char *memcmd;
172 volatile u_char *memevent;
173 long pmem; /* physical memory address */
174
175 struct {

--- 44 unchanged lines hidden ---
168 } res;
169
170 u_char *vmem; /* virtual memory address */
171 u_char *memcmd;
172 volatile u_char *memevent;
173 long pmem; /* physical memory address */
174
175 struct {

--- 44 unchanged lines hidden ---