plan 9 kernel history: overview | file list | diff list

1994/0728/port/devlance.c (diff list | history)

1994/0624/sys/src/9/port/devlance.c:158,1631994/0728/sys/src/9/port/devlance.c:158,164 (short | long | prev | next)
1990/0227    
	 */ 
1990/1228    
	*l.rap = 0; 
	*l.rdp = STOP; 
1994/0728    
	l.wedged = 1; 
1990/0227    
} 
 
/* 
1994/0624/sys/src/9/port/devlance.c:260,2651994/0728/sys/src/9/port/devlance.c:261,272
1990/1229    
	wbflush(); 
1990/0227    
	*l.rap = 0; 
	*l.rdp = INEA|INIT|STRT; /**/ 
1994/0728    
 
	for(i = 0; i < 1000; i++) 
		if(l.wedged == 0) 
			break; 
 
	qunlock(&l.tlock); 
1990/0227    
} 
 
void 
1994/0624/sys/src/9/port/devlance.c:294,3031994/0728/sys/src/9/port/devlance.c:301,308
1992/0912    
		} 
1991/0108    
	} 
1990/0227    
 
1990/1231    
	if(csr & IDON){ 
1994/0728    
	if(csr & IDON) 
1992/0605    
		l.wedged = 0; 
1991/0621    
		qunlock(&l.tlock); 
1990/1231    
	} 
1990/0227    
 
	/* 
1992/0605    
	 *  the lance turns off if it gets strange output errors 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)