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

1992/0506/pc/devether.c (diff list | history)

1992/0505/sys/src/9/pc/devether.c:716,7231992/0506/sys/src/9/pc/devether.c:716,724 (short | long | prev | next)
1992/0424    
		p = &((Ring*)hw->ram)[next]; 
1992/0505    
		len = ((p->len1<<8)|p->len0)-4; 
		if(p->next < hw->pstart || p->next >= hw->pstop || len < 60){ 
			print("%d: #%2.2ux #%2.2ux  #%2.2ux #%2.2ux\n", next, 
1992/0506    
			print("%d/%d : #%2.2ux #%2.2ux  #%2.2ux #%2.2ux\n", next, len, 
1992/0505    
				p->status, p->next, p->len0, p->len1); 
1992/0506    
			panic("receive"); 
1992/0505    
			dp8390rinit(cp); 
			return; 
		} 


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