# HG changeset patch # User sergeig # Date 1311441466 0 # Node ID a89747c41077186a37a779573bc446cd34c7c8e5 # Parent 6724f8254bcb21d68109d5d594738b20e3bc6c54 * cdl/phy_eth_drivers.cdl: Use CYGHWR_DEVS_ETH_PHY_DP8384X name instead CYGHWR_DEVS_ETH_PHY_DP83847 * src/DP83847.c: Renamed stat() function, add new PHY DP83848C Update due renaming CYGHWR_DEVS_ETH_PHY_DP83847 to CYGHWR_DEVS_ETH_PHY_DP8384X. [ Bugzilla 1001235 ] diff --git a/packages/devs/eth/phy/current/ChangeLog b/packages/devs/eth/phy/current/ChangeLog --- a/packages/devs/eth/phy/current/ChangeLog +++ b/packages/devs/eth/phy/current/ChangeLog @@ -1,3 +1,11 @@ +2011-07-22 Christophe Coutand and sergeig + + * cdl/phy_eth_drivers.cdl: Use CYGHWR_DEVS_ETH_PHY_DP8384X name + instead CYGHWR_DEVS_ETH_PHY_DP83847 + * src/DP83847.c: Renamed stat() function, add new PHY DP83848C + Update due renaming CYGHWR_DEVS_ETH_PHY_DP83847 to + CYGHWR_DEVS_ETH_PHY_DP8384X. [ Bugzilla 1001235 ] + 2011-07-02 Ilija Kocho * src/KSZ8041.c: More silicon revisions. [Bugzilla 1001274] diff --git a/packages/devs/eth/phy/current/cdl/phy_eth_drivers.cdl b/packages/devs/eth/phy/current/cdl/phy_eth_drivers.cdl --- a/packages/devs/eth/phy/current/cdl/phy_eth_drivers.cdl +++ b/packages/devs/eth/phy/current/cdl/phy_eth_drivers.cdl @@ -78,13 +78,13 @@ cdl_package CYGPKG_DEVS_ETH_PHY { before giving up and declaring the link dead/missing." } - cdl_option CYGHWR_DEVS_ETH_PHY_DP83847 { - display "NSDP83847" + cdl_option CYGHWR_DEVS_ETH_PHY_DP8384X { + display "NSDP8384X" flavor bool default_value 0 compile -library=libextras.a DP83847.c description " - Include support for National Semiconductor DP83847 DsPHYTER II" + Include support for National Semiconductor DP8384X DsPHYTER II" } cdl_option CYGHWR_DEVS_ETH_PHY_AM79C874 { diff --git a/packages/devs/eth/phy/current/src/DP83847.c b/packages/devs/eth/phy/current/src/DP83847.c --- a/packages/devs/eth/phy/current/src/DP83847.c +++ b/packages/devs/eth/phy/current/src/DP83847.c @@ -40,10 +40,10 @@ //#####DESCRIPTIONBEGIN#### // // Author(s): gthomas -// Contributors: +// Contributors: ccoutand // Date: 2003-08-01 // Purpose: -// Description: Support for ethernet NS DP83847 PHY +// Description: Support for ethernet NS DP8384X PHY // // //####DESCRIPTIONEND#### @@ -63,7 +63,7 @@ #include #include -static bool dp83847_stat(eth_phy_access_t *f, int *state) +static bool dp8384x_stat(eth_phy_access_t *f, int *state) { unsigned short phy_state; int tries; @@ -94,4 +94,5 @@ static bool dp83847_stat(eth_phy_access_ return false; } -_eth_phy_dev("National Semiconductor DP83847", 0x20005c30, dp83847_stat) +_eth_phy_dev("National Semiconductor DP83847", 0x20005c30, dp8384x_stat) +_eth_phy_dev("National Semiconductor DP83848C", 0x20005c90, dp8384x_stat)