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

1991/0214/power/devhotrod.c (diff list | history)

1991/0212/sys/src/9/power/devhotrod.c:67,721991/0214/sys/src/9/power/devhotrod.c:67,73 (short | long | prev | next)
1991/0209    
	REBOOT=	1,	/* params: none */ 
1991/0212    
	READ=	2,	/* params: buffer, count, returned count */ 
	WRITE=	3,	/* params: buffer, count */ 
1991/0214    
	TEST=	7,	/* params: none */ 
1991/0209    
}; 
 
void 
1991/0212/sys/src/9/power/devhotrod.c:185,1901991/0214/sys/src/9/power/devhotrod.c:186,201
1991/0212    
		mp->param[0] = MP2VME(&hp->rq); 
		mp->param[1] = NhotQ; 
1991/0209    
		hotsend(hp, &((User*)(u->p->upage->pa|KZERO))->khot); 
1991/0214    
		delay(1000); 
		print("reset\n"); 
		/* 
		 * Issue reset 
		 */ 
		mp->cmd = TEST; 
		hotsend(hp, &((User*)(u->p->upage->pa|KZERO))->khot); 
		print("ok1\n"); 
		delay(1000); 
		print("ok2\n"); 
1990/1018    
	} 
1990/1013    
	c->mode = openmode(omode); 
	c->flag |= COPEN; 


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