🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages Started by Mark S. Lewis Wed, 15 Nov 1989 19:12
Fix for 6152 lobe fault problem IBM/4.3
#573
Author: Mark S. Lewis
Date: Wed, 15 Nov 1989 19:12
44 lines
1913 bytes
Subject: Fix for 6152 lobe fault problem IBM/4.3
Index: sys/ca_atr/if_lan.c IBM/4.3

Description:	
         If a lobe fault condition occurs (eg. disconnection), the
         adapter is not opened properly.  This leaves the network
         unreachable until Unix is rebooted.

Fix:	
         This patch fixes the lobe fault problem.

         First apply patch V1.11, if you have not already done so.
         Then apply the following patch to the Unix token-ring driver.
 
*** if_lan.c	Tue Nov 14 16:18:22 1989
--- if_lan.c.fix	Wed Nov 15 09:41:42 1989
***************
*** 448,453 ****
--- 448,456 ----
  	register struct tr_softc *trs = &tr_softc[unit];
  	register struct ifnet *ifp = &trs->trs_if;
  
+ 	struct iocc_device *iod = trinfo[unit];
+ 	/* get pointer to device I/O space */
+ 	struct trdevice *addr = (struct trdevice *)((unsigned
int)iod->iod_addr & 0xffffff);
  
  	/* holds status read from adapter status register */
  	register unsigned char status;
***************
*** 723,728 ****
--- 726,732 ----
  				printf("lan%d: SIGNAL LOSS/LOBE FAULT\n",
  					unit);
  
+ 					trprobe(addr);	/* hard reset */
  					ifp->if_flags &= ~IFF_RUNNING;
  					ifp->if_flags &= ~IFF_UP;
  					trs->wire_fault = 0x01;


=====-----     Mark S. Lewis, IBM AWD Palo Alto    -----======
inet: mlewis%ibmsupt@uunet.uu.net		(415) 855-4486
uucp: uunet!ibmsupt!mlewis              IBM Tie Line: 465-4486
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads