kernels/linux-2.4.0/drivers/net/dmfe.c
/*
   Update CR6 vaule
   Firstly stop DM910X , then written value and start
 */
Update CR6 vaule
Firstly stop DM910X , then written value and start
Update CR6 vaule Firstly stop DM910X then written value and start
static void update_cr6(u32 cr6_data, u32 ioaddr)
{
	u32 cr6_tmp;
	cr6_tmp = cr6_data & ~0x2002;	
	outl(cr6_tmp, ioaddr + DCR6);
	DELAY_5US;
	outl(cr6_data, ioaddr + DCR6);
	cr6_tmp = inl(ioaddr + DCR6);
}
static void update_cr6 ( u32 cr6_data , u32 ioaddr ) { u32 cr6_tmp ; cr6_tmp = cr6_data & ~ 0x2002 ; outl ( cr6_tmp , ioaddr + DCR6 ) ; DELAY_5US ; outl ( cr6_data , ioaddr + DCR6 ) ; cr6_tmp = inl ( ioaddr + DCR6 ) ; }
Update CR6 vaule
Firstly stop DM910X , then written value and start
Update CR6 vaule Firstly stop DM910X then written value and start
/* stop Tx/Rx */ /* printk("CR6 update %x ", cr6_tmp); */