[PATCH] Slight refactor of interrupt mapping for FSL parts

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Oct 20 08:40:11 EST 2006


> 
> On Oct 16, 2006, at 16:51, Joakim Tjernlund wrote:
> 
> >>> -#define PHY_POLL		-1
> >>> +#define PHY_POLL		NO_IRQ
> >>>  #define PHY_IGNORE_INTERRUPT	-2
> >
> > What does PHY_IGNORE_INTERRUPT mean? Can I use that in a dummy PHY
> > driver that just pretends that all is well? Got a ethernet port that
> > is connect to a switch directly over MII.
> > How do I express -2 in a dts file?
> 
> 
> PHY_IGNORE_INTERRUPT means that the PHY Lib will not poll the  
> interface, nor will it register for the interrupt.  Actually, it  
> would be best for a dummy PHY driver.  Take a look at the driver in  
> drivers/phy/fixed.c.  It's there to provide that kind of interface.   
> It looks like it uses -1, which is a problem, but my revision 
> of this  
> patch will fix that.

Great, thanks. I don't see how to connect this PHY to ucc_geth driver yet. I think
it needs some PHY work first.

Maybe this patch,http://ozlabs.org/pipermail/linuxppc-dev/2006-October/026690.html, will make it better?
Why hasn't it been applied yet?

 Jocke




More information about the Linuxppc-dev mailing list