Hi David, On 25.03.2013 21:39, David Andrey wrote: >> Why don't you just change the mask to support both PHY's with one > struct here? Something like this: >> >> static struct phy_driver ksz9021_driver = { >> - .name = "Micrel ksz9021", >> + .name = "Micrel ksz90x1", >> .uid = 0x221610, >> - .mask = 0xfffff0, >> + .mask = 0xffffc0, >> >> This would be much "simpler". Does it work for you? > > Well, because the ksz9031 works well with the generic phy config > function. See ksz9021_config vs genphy_config
Okay, I see. Thanks. Acked-by: Stefan Roese <s...@denx.de> Thanks, Stefan _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot