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

2000/1221/pc/apm.c (diff list | history)

2000/1221/sys/src/9/pc/apm.c:97,1092000/1229/sys/src/9/pc/apm.c:97,104 (short | long | prev | next)
Remove experimental attempt to resume 3C589.
rsc Fri Mar 4 12:44:25 2005
2000/1018    
apmwrite(Chan*, void *a, long n, vlong off) 
{ 
	int s; 
	if(off || n != sizeof apmu){ 
//		if(n == 5 && strncmp(a, "ether", 5) == 0){ 
//			ether589reset(); 
//			return 5; 
//		} 
2000/1229    
	if(off || n != sizeof apmu) 
2000/1018    
		error("write a Ureg"); 
	} 
 
	memmove(&apmu, a, sizeof apmu); 
	s = splhi(); 


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