If netmask == 0, new value changed from 0x8000 to 0x10000
(don't mess with IRQ15)
This commit is contained in:
parent
cbf1ab9b3f
commit
34f1626703
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.7 1993/11/09 02:12:36 alm Exp $
|
||||
* $Id: isa.c,v 1.8 1993/11/14 23:53:32 ache Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -239,11 +239,9 @@ isa_configure() {
|
||||
#endif
|
||||
/* if netmask == 0, then the loopback code can do some really
|
||||
* bad things.
|
||||
* workaround for this: if netmask == 0, set it to 0x8000,
|
||||
* which is value used by splsoftclock
|
||||
*/
|
||||
if (netmask == 0)
|
||||
netmask = 0x8000; /* same as for softclock from icu.s */
|
||||
netmask = 0x10000;
|
||||
/* biomask |= ttymask ; can some tty devices use buffers? */
|
||||
printf("biomask %x ttymask %x netmask %x\n", biomask, ttymask, netmask);
|
||||
splnone();
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.7 1993/11/09 02:12:36 alm Exp $
|
||||
* $Id: isa.c,v 1.8 1993/11/14 23:53:32 ache Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -239,11 +239,9 @@ isa_configure() {
|
||||
#endif
|
||||
/* if netmask == 0, then the loopback code can do some really
|
||||
* bad things.
|
||||
* workaround for this: if netmask == 0, set it to 0x8000,
|
||||
* which is value used by splsoftclock
|
||||
*/
|
||||
if (netmask == 0)
|
||||
netmask = 0x8000; /* same as for softclock from icu.s */
|
||||
netmask = 0x10000;
|
||||
/* biomask |= ttymask ; can some tty devices use buffers? */
|
||||
printf("biomask %x ttymask %x netmask %x\n", biomask, ttymask, netmask);
|
||||
splnone();
|
||||
|
Loading…
Reference in New Issue
Block a user