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

2002/0416/port/devpnp.c (diff list | history)

2002/0414/sys/src/9/port/devpnp.c:549,5582002/0416/sys/src/9/port/devpnp.c:549,558 (short | long | prev | next)
2001/0801    
		p = pcimatchtbdf(tbdf); 
		if(p == nil) 
			error(Egreg); 
2002/0414    
		if(offset > 128) 
2002/0416    
		if(offset > 256) 
2002/0414    
			return 0; 
		if(n+offset > 128) 
			n = 128-offset; 
2002/0416    
		if(n+offset > 256) 
			n = 256-offset; 
2002/0414    
		if(offset%4) 
			error(Ebadarg); 
		r = offset; 


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