]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
phy: Fix phy_id for Vitesse 824x PHY
authorKumar Gala <galak@kernel.crashing.org>
Thu, 28 Jun 2007 18:26:06 +0000 (13:26 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 28 Jun 2007 18:26:06 +0000 (13:26 -0500)
commit5f708dd91d15876e26d7a57f97a255cedffca463
tree5492646ee87a183a3c96446738bbe70cdb19b613
parentb75ae8603568ae18f270213693758c78fb8a29ff
phy: Fix phy_id for Vitesse 824x PHY

The phy_id specified for the Vitesse 824x PHY would never match because
it was expecting bits to be set that would be masked by the phy_id_mask.
Fix the phy_id so it will match properly, and changed the mdio_bus_match
to mask both the driver and devices phy_id with the mask so we dont have
this issue in the future.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/net/phy/mdio_bus.c
drivers/net/phy/vitesse.c