diff options
| author | Wolfgang Denk <wd@denx.de> | 2011-04-05 12:24:20 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-04-05 12:24:20 +0200 |
| commit | 4db2fa7f9446d0f2fe8db3d62184b1212fe22707 (patch) | |
| tree | bc62cbfc14296551caebda626db7a90fef9ae844 /drivers/net/tsec.c | |
| parent | 75df0d594990875419121c6f8687472ac9f4ae7a (diff) | |
| parent | 7d3053fbf16caad4745f42f7ae3e38e9d3e964b5 (diff) | |
| download | olio-uboot-2014.01-4db2fa7f9446d0f2fe8db3d62184b1212fe22707.tar.xz olio-uboot-2014.01-4db2fa7f9446d0f2fe8db3d62184b1212fe22707.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Conflicts:
drivers/usb/host/ehci-pci.c
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/net/tsec.c')
| -rw-r--r-- | drivers/net/tsec.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 9c8fe6244..9a91b9e0b 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -1810,6 +1810,28 @@ static struct phy_info phy_info_rtl8211b = { }, }; +struct phy_info phy_info_AR8021 = { + 0x4dd04, + "AR8021", + 4, + (struct phy_cmd[]) { /* config */ + {MII_BMCR, BMCR_RESET, NULL}, + {MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART, NULL}, + {0x1d, 0x05, NULL}, + {0x1e, 0x3D47, NULL}, + {miim_end,} + }, + (struct phy_cmd[]) { /* startup */ + {MII_BMSR, miim_read, NULL}, + {MII_BMSR, miim_read, &mii_parse_sr}, + {MII_BMSR, miim_read, &mii_parse_link}, + {miim_end,} + }, + (struct phy_cmd[]) { /* shutdown */ + {miim_end,} + } +}; + static struct phy_info *phy_info[] = { &phy_info_cis8204, &phy_info_cis8201, @@ -1832,6 +1854,7 @@ static struct phy_info *phy_info[] = { &phy_info_VSC8221, &phy_info_dp83865, &phy_info_rtl8211b, + &phy_info_AR8021, &phy_info_generic, /* must be last; has ID 0 and 32 bit mask */ NULL }; |