isa.c (736) | isa.c (765) |
---|---|
1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 | 1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 |
37 * $Id: isa.c,v 1.6 1993/11/07 21:47:19 wollman Exp $ | 37 * $Id: isa.c,v 1.7 1993/11/09 02:12:36 alm Exp $ |
38 */ 39 40/* 41 * code to manage AT bus 42 * 43 * 92/08/18 Frank P. MacLachlan (fpm@crash.cts.com): 44 * Fixed uninitialized variable problem and added code to deal 45 * with DMA page boundaries in isa_dmarangecheck(). Fixed word --- 186 unchanged lines hidden (view full) --- 232 * SLIPDISC. No need to block out ALL ttys during a splnet when only one 233 * of them is running slip. 234 */ 235#include "sl.h" 236#if NSL > 0 237 netmask |= ttymask; 238 ttymask |= netmask; 239#endif | 38 */ 39 40/* 41 * code to manage AT bus 42 * 43 * 92/08/18 Frank P. MacLachlan (fpm@crash.cts.com): 44 * Fixed uninitialized variable problem and added code to deal 45 * with DMA page boundaries in isa_dmarangecheck(). Fixed word --- 186 unchanged lines hidden (view full) --- 232 * SLIPDISC. No need to block out ALL ttys during a splnet when only one 233 * of them is running slip. 234 */ 235#include "sl.h" 236#if NSL > 0 237 netmask |= ttymask; 238 ttymask |= netmask; 239#endif |
240 /* if netmask == 0, then the loopback code can do some really 241 * bad things. 242 * workaround for this: if netmask == 0, set it to 0x8000, 243 * which is value used by splsoftclock 244 */ 245 if (netmask == 0) 246 netmask = 0x8000; /* same as for softclock from icu.s */ |
|
240 /* biomask |= ttymask ; can some tty devices use buffers? */ 241 printf("biomask %x ttymask %x netmask %x\n", biomask, ttymask, netmask); 242 splnone(); 243} 244 245/* 246 * Configure an ISA device. 247 */ --- 546 unchanged lines hidden --- | 247 /* biomask |= ttymask ; can some tty devices use buffers? */ 248 printf("biomask %x ttymask %x netmask %x\n", biomask, ttymask, netmask); 249 splnone(); 250} 251 252/* 253 * Configure an ISA device. 254 */ --- 546 unchanged lines hidden --- |