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

1995/0111/pc/devi82365.c (diff list | history)

1995/0111/sys/src/9/pc/devi82365.c:1059,10811995/0114/sys/src/9/pc/devi82365.c:1059,1079 (short | long | prev | next)
1994/1209    
	int i; 
	ulong address, len; 
 
	for(;;){ 
		if(readc(pp, &c) != 1) 
			break; 
1995/0114    
	if(readc(pp, &c) != 1) 
		return; 
1994/1209    
 
		pp->nioregs = 1<<(c&0x1f); 
		pp->bit16 = ((c>>5)&3) >= 2; 
		if((c & 0x80) == 0) 
			break; 
1995/0114    
	pp->nioregs = 1<<(c&0x1f); 
	pp->bit16 = ((c>>5)&3) >= 2; 
	if((c & 0x80) == 0) 
		return; 
1994/1209    
 
		if(readc(pp, &c) != 1) 
			break; 
1995/0114    
	if(readc(pp, &c) != 1) 
		return; 
1994/1209    
 
		for(i = (c&0xf)+1; i; i--){ 
			address = getlong(pp, (c>>4)&0x3); 
			len = getlong(pp, (c>>6)&0x3); 
			USED(address, len); 
		} 
1995/0114    
	for(i = (c&0xf)+1; i; i--){ 
		address = getlong(pp, (c>>4)&0x3); 
		len = getlong(pp, (c>>6)&0x3); 
		USED(address, len); 
1994/1209    
	} 
} 
 


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