Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56950
b: refs/heads/master
c: 239dc57
h: refs/heads/master
v: v3
  • Loading branch information
Denver Gingerich authored and Jeff Garzik committed May 24, 2007
1 parent 947cc82 commit f9cfd9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ed22bc294315d19aa1f0423b83d21a2d94c641b
refs/heads/master: 239dc572b8e6ecde91afe96d2426ddc2afd4695d
4 changes: 4 additions & 0 deletions trunk/drivers/net/phy/fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ EXPORT_SYMBOL(fixed_mdio_set_link_update);
/*-----------------------------------------------------------------------------
* This is used for updating internal mii regs from the status
*-----------------------------------------------------------------------------*/
#if defined(CONFIG_FIXED_MII_100_FDX) || defined(CONFIG_FIXED_MII_10_FDX)
static int fixed_mdio_update_regs(struct fixed_info *fixed)
{
u16 *regs = fixed->regs;
Expand Down Expand Up @@ -165,6 +166,7 @@ static int fixed_mii_reset(struct mii_bus *bus)
/*nothing here - no way/need to reset it*/
return 0;
}
#endif

static int fixed_config_aneg(struct phy_device *phydev)
{
Expand Down Expand Up @@ -194,6 +196,7 @@ static struct phy_driver fixed_mdio_driver = {
* number is used to create multiple fixed PHYs, so that several devices can
* utilize them simultaneously.
*-----------------------------------------------------------------------------*/
#if defined(CONFIG_FIXED_MII_100_FDX) || defined(CONFIG_FIXED_MII_10_FDX)
static int fixed_mdio_register_device(int number, int speed, int duplex)
{
struct mii_bus *new_bus;
Expand Down Expand Up @@ -301,6 +304,7 @@ static int fixed_mdio_register_device(int number, int speed, int duplex)

return err;
}
#endif


MODULE_DESCRIPTION("Fixed PHY device & driver for PAL");
Expand Down

0 comments on commit f9cfd9a

Please sign in to comment.