commit | f87a15cd2540c4fc8c8a7b8f5b4450bd4ec7fd5d | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 21:19:31 2015 -0700 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Oct 29 14:05:49 2015 -0500 |
tree | f65b5219be35890f28489b061da9ed4b18117cfd | |
parent | 59c6d894fb02aae4f207b81e8bb0103a7dbaf5ab [diff] |
net: phy: Test previous phydev->dev against new mac dev In phy_connect_dev(), if the phy device has an accociated mac device before, a warning message will be printed. But we should test the old device against the new one, if they are actually the same one, don't print the warning message. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>