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

1998/0319/carrera/devether.c (diff list | history)

1997/1210/sys/src/9/carrera/devether.c:65,731998/0319/sys/src/9/carrera/devether.c:65,74 (short | long | prev | next)
Change dev read and write to use vlong offset.
rsc Fri Mar 4 12:44:25 2005
1997/1210    
} 
1993/0904    
 
1997/1210    
static long 
etherread(Chan* chan, void* buf, long n, ulong offset) 
1998/0319    
etherread(Chan* chan, void* buf, long n, vlong off) 
1993/0903    
{ 
1997/1210    
	Ether *ether; 
1998/0319    
	ulong offset = off; 
1993/0903    
 
1997/1210    
	ether = etherxx[chan->dev]; 
	if((chan->qid.path & CHDIR) == 0 && ether->dev && ether->dev->ifstat){ 
1997/1210/sys/src/9/carrera/devether.c:231,2371998/0319/sys/src/9/carrera/devether.c:232,238
1993/0903    
} 
 
1997/1210    
static long 
etherwrite(Chan* chan, void* buf, long n, ulong) 
1998/0319    
etherwrite(Chan* chan, void* buf, long n, vlong) 
1993/0903    
{ 
1997/1210    
	Ether *ether; 
	Block *bp; 


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