phy: mdiobus_register(): initialize all phy_map entries
authorHerbert Valerio Riedel <hvr@gnu.org>
Wed, 10 May 2006 16:12:57 +0000 (12:12 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Wed, 10 May 2006 21:03:57 +0000 (14:03 -0700)
commit64b1c2b42b555ef38c475d104f2faf3f6f93690d
tree88eb14c289e9717f1f606a401079b4688ae44ba9
parentf4ea431bb7c4856b930eafca6eb1fb474dae9b40
phy: mdiobus_register(): initialize all phy_map entries

make sure phy_map entries whose PHY address is masked are initialized
to NULL, given that other code (such as mdiobus_unregister for
instance) assumes that non-NULL phy_map entries are allocated
phy_devices

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/phy/mdio_bus.c