kernels/linux-2.4.0/drivers/net/tokenring/tms380tr.c
/*
 * Internal adapter pointer to RAM data are copied from adapter into
 * host system.
 */
Internal adapter pointer to RAM data are copied from adapter into
host system.
Internal adapter pointer to RAM data are copied from adapter into host system .
static int tms380tr_read_ptr(struct net_device *dev)
{
	struct net_local *tp = (struct net_local *)dev->priv;
	unsigned short adapterram;
	tms380tr_read_ram(dev, (unsigned char *)&tp->intptrs.BurnedInAddrPtr,
			ADAPTER_INT_PTRS, 16);
	tms380tr_read_ram(dev, (unsigned char *)&adapterram,
			cpu_to_be16((unsigned short)tp->intptrs.AdapterRAMPtr), 2);
	return be16_to_cpu(adapterram); 
}
static int tms380tr_read_ptr ( struct net_device * dev ) { struct net_local * tp = ( struct net_local * ) dev -> priv ; unsigned short adapterram ; tms380tr_read_ram ( dev , ( unsigned char * ) & tp -> intptrs . BurnedInAddrPtr , ADAPTER_INT_PTRS , 16 ) ; tms380tr_read_ram ( dev , ( unsigned char * ) & adapterram , cpu_to_be16 ( ( unsigned short ) tp -> intptrs . AdapterRAMPtr ) , 2 ) ; return be16_to_cpu ( adapterram ) ; }
Internal adapter pointer to RAM data are copied from adapter into
 host system.
Internal adapter pointer to RAM data are copied from adapter into host system .