Deleted Added
full compact
npx.c (690) npx.c (695)
1/*-
2 * Copyright (c) 1990 William Jolitz.
3 * Copyright (c) 1991 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * from: @(#)npx.c 7.2 (Berkeley) 5/12/91
1/*-
2 * Copyright (c) 1990 William Jolitz.
3 * Copyright (c) 1991 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * from: @(#)npx.c 7.2 (Berkeley) 5/12/91
35 * $Id: npx.c,v 1.3 1993/10/13 15:59:30 rgrimes Exp $
35 * $Id: npx.c,v 1.4 1993/11/03 00:29:19 paul Exp $
36 */
37
38#include "npx.h"
39#if NNPX > 0
40
41#include "param.h"
42#include "systm.h"
43#include "conf.h"

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

133void probeintr(void);
134asm
135("
136 .text
137_probeintr:
138 ss
139 incl _npx_intrs_while_probing
140 pushl %eax
36 */
37
38#include "npx.h"
39#if NNPX > 0
40
41#include "param.h"
42#include "systm.h"
43#include "conf.h"

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

133void probeintr(void);
134asm
135("
136 .text
137_probeintr:
138 ss
139 incl _npx_intrs_while_probing
140 pushl %eax
141 movb $0x20,%al
142 outb %al,$0xa0
143 outb %al,$0x20
141 movb $0x20,%al # EOI (asm in strings loses cpp features)
142 outb %al,$0xa0 # IO_ICU2
143 outb %al,$0x20 #IO_ICU1
144 movb $0,%al
144 movb $0,%al
145 outb %al,$0xf0
145 outb %al,$0xf0 # clear BUSY# latch
146 popl %eax
147 iret
148");
149
150void probetrap(void);
151asm
152("
153 .text

--- 401 unchanged lines hidden ---
146 popl %eax
147 iret
148");
149
150void probetrap(void);
151asm
152("
153 .text

--- 401 unchanged lines hidden ---