
14 Oct
2011
14 Oct
'11
1:40 p.m.
Kumar Gala wrote:
Rather than looking at tn2020_driver.uid lets just do something like:
if ((phydev->drv->uid& phydev->drv->mask) == TN2020_UID)
And add a #define in phy.h:
#define TN2020_UID 0x00a19410
I guess that makes more sense. I thought my original version was cooler, though.
--
Timur Tabi
Linux kernel developer at Freescale