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

1991/0608/gnot/devduart.c (diff list | history)

1991/0606/sys/src/9/gnot/devduart.c:578,5841991/0608/sys/src/9/gnot/devduart.c:578,584 (short | long | prev | next)
1991/0605    
} 
 
void 
duartdevice(Duartport *dp) 
1991/0608    
duartenable(Duartport *dp) 
1991/0605    
{ 
	/* 
	 *  set up i/o routines 
1991/0606/sys/src/9/gnot/devduart.c:602,6081991/0608/sys/src/9/gnot/devduart.c:602,608
1991/0605    
	dp->nostream = 1; 
	dp->oq = oq; 
	dp->iq = iq; 
	duartdevice(dp); 
1991/0608    
	duartenable(dp); 
1991/0605    
	duartbaud(baud); 
} 
 
1991/0606/sys/src/9/gnot/devduart.c:805,8111991/0608/sys/src/9/gnot/devduart.c:805,811
1991/0605    
	initq(dp->iq); 
	dp->oq = ialloc(sizeof(IOQ), 0); 
	initq(dp->oq); 
	duartdevice(dp); 
1991/0608    
	duartenable(dp); 
1991/0605    
} 
 
Chan* 


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