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

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

1991/0326/sys/src/9/power/devhotrod.c:18,231991/0328/sys/src/9/power/devhotrod.c:18,27 (short | long | prev | next)
1991/0307    
#define	NTESTBUF	256 
ulong	testbuf[NTESTBUF]; 
1991/0306    
#endif 
1991/0328    
/* 
 * If defined, ENABBUSTEST causes bus error diagnostic to be run at device open 
 */ 
#define	ENABBUSTEST 
1991/0303    
 
/* 
1991/0307    
 * If 1, ENABCKSUM causes data transfers to have checksums 
1991/0326/sys/src/9/power/devhotrod.c:193,1981991/0328/sys/src/9/power/devhotrod.c:197,210
1991/0303    
			print("-"); 
			mem(hp->addr, &hp->addr->ram[(mp->param[0]-0x40000)/sizeof(ulong)], mp->param[1]); 
		} 
1991/0328    
#endif 
#ifdef ENABBUSTEST 
		/* 
		 * Issue test 
		 */ 
		mp = &u->khot; 
		mp->cmd = Ubus; 
		hotsend(hp, &((User*)(u->p->upage->pa|KZERO))->khot); 
1991/0302    
#endif 
1990/1018    
	} 
1990/1013    
	c->mode = openmode(omode); 


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