[comp.sys.ibm.pc.rt] IBM/4.3 Fix to 6152 ethernet patch V1.12

mlewis@dolphin.tcspa.ibm.com (Mark S. Lewis) (10/20/89)

Subject:  IBM/4.3 Fix to 6152 ethernet patch V1.12
Index:    sys/ca_atr/if_un.c

Description:  This patch fixes a problem with the new Ungermann-Bass
          ethernet driver derived from patch V1.12.  The problem was
          that vmunix would hang during autoconfig with two ethernet
          adapters present.  This simple patch (V1.14) supports two
          adapters.  It disables interrupting the adapter
          during autoconfig.

Fix:      Apply patch V1.12 to the December 88 source code, if you
          have not already done so.  Then apply this patch V1.14 to
          the already patched code.

*** if_un.c	Fri Sep  8 16:25:33 1989
--- if_un.c.fix	Fri Sep  8 15:50:07 1989
***************
*** 289,295 ****
  #define Offset(off)	((us->ram_addr + off) & 0x0ffff)
  
  int undebug = 0;	/* debugging flags */
! int unnoint = 0;	/* don't attempt to cause interrupt */
  int noun = 0;		/* don't use un */
  
  #define UB_GSFTINT      0x20    /* Generate software interrupt */
--- 289,295 ----
  #define Offset(off)	((us->ram_addr + off) & 0x0ffff)
  
  int undebug = 0;	/* debugging flags */
! int unnoint = 1;	/* don't attempt to cause interrupt */
  int noun = 0;		/* don't use un */
  
  #define UB_GSFTINT      0x20    /* Generate software interrupt */