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

1991/0112/port/devwren.c (diff list | history)

1991/0112/sys/src/9/port/devwren.c:7,141991/0115/sys/src/9/port/devwren.c:7,12 (short | long | prev | next)
1991/0110    
#include	"devtab.h" 
#include	"io.h" 
 
#include	"scsi.h" 
                 
1991/0112    
typedef struct Part	Part; 
typedef struct Disk	Disk; 
 
1991/0112/sys/src/9/port/devwren.c:39,471991/0115/sys/src/9/port/devwren.c:37,47
1991/0110    
 
1991/0112    
static Disk	wren[Ndisk]; 
1991/0110    
 
1991/0112    
static Scsi	staticcmd;			/* BUG */ 
static uchar	datablk[2*4*512];		/* BUG */ 
1991/0115    
static Scsi	staticcmd;		/* BUG */ 
static uchar	datablk[BY2PG];		/* BUG */ 
1991/0112    
 
1991/0115    
#define	BGLONG(p)	(((((((p)[0]<<8)|(p)[1])<<8)|(p)[2])<<8)|(p)[3]) 
 
1991/0110    
/* 
 *  accepts [0-7].[0-7], or abbreviation 
 */ 
1991/0112/sys/src/9/port/devwren.c:108,1141991/0115/sys/src/9/port/devwren.c:108,114
1991/0112    
		p->qid.path = Qdata + i; 
		p->perm = 0600; 
		p++->length = 0; 
		strcpy(p->name, "struct%d"); 
1991/0115    
		sprint(p->name, "struct%d", i); 
1991/0112    
		p->qid.path = Qstruct + i; 
		p->perm = 0600; 
		p++->length = 0; 


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