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

1992/1013/pc/kbd.c (diff list | history)

1992/0918/sys/src/9/pc/kbd.c:183,1891992/1013/sys/src/9/pc/kbd.c:183,188 (short | long | prev | next)
1991/0703    
void 
1991/1210    
i8042a20(void) 
{ 
	outready(); 
	outb(Cmd, 0xD1); 
	outready(); 
	outb(Data, 0xDF); 
1992/0918/sys/src/9/pc/kbd.c:196,2051992/1013/sys/src/9/pc/kbd.c:195,213
1991/1210    
void 
1992/0902    
i8042reset(void) 
{ 
1992/1013    
	/* 
	 *  this works for dhog 
	 */ 
1992/0902    
	outready(); 
1992/1013    
	outb(Cmd, 0xFE);	/* pulse reset line */ 
	outready(); 
	/* 
	 *  this is the old IBM way 
	 */ 
	outready(); 
1992/0902    
	outb(Cmd, 0xD1); 
	outready(); 
	outb(Data, 0xDE); 
1992/1013    
	outb(Data, 0xDE);	/* set reset line high */ 
1992/0902    
	outready(); 
} 
 


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