Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183994
b: refs/heads/master
c: fceb291
h: refs/heads/master
v: v3
  • Loading branch information
Amit Kucheria authored and David S. Miller committed Feb 10, 2010
1 parent 74010fb commit ec874d0
Show file tree
Hide file tree
Showing 2 changed files with 22 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: 633e7533cec78b99d806248e832fc83e689d2453
refs/heads/master: fceb2919192d7a667be81c17c0bfa227fd7fa992
21 changes: 21 additions & 0 deletions trunk/drivers/net/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,26 @@ static phy_info_t phy_info_dp83848= {
},
};

static phy_info_t phy_info_lan8700 = {
0x0007C0C,
"LAN8700",
(const phy_cmd_t []) { /* config */
{ mk_mii_read(MII_REG_CR), mii_parse_cr },
{ mk_mii_read(MII_REG_ANAR), mii_parse_anar },
{ mk_mii_end, }
},
(const phy_cmd_t []) { /* startup */
{ mk_mii_write(MII_REG_CR, 0x1200), NULL }, /* autonegotiate */
{ mk_mii_read(MII_REG_SR), mii_parse_sr },
{ mk_mii_end, }
},
(const phy_cmd_t []) { /* act_int */
{ mk_mii_end, }
},
(const phy_cmd_t []) { /* shutdown */
{ mk_mii_end, }
},
};
/* ------------------------------------------------------------------------- */

static phy_info_t const * const phy_info[] = {
Expand All @@ -1137,6 +1157,7 @@ static phy_info_t const * const phy_info[] = {
&phy_info_am79c874,
&phy_info_ks8721bl,
&phy_info_dp83848,
&phy_info_lan8700,
NULL
};

Expand Down

0 comments on commit ec874d0

Please sign in to comment.