Skip to contentSkip to conversation

add new PHY chips support

PATCH New Brilliantov Kirill Vladimirovich 2 participants 2 messages Oct 4, 2011 – Oct 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 add new PHY chips support

TexasInstruments Davinci DM365/8 processors havn't 1000Mb/s support. Tested on U-boot 1.3.4

---
  cpu/arm926ejs/davinci/ether.c |    7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)
cpu/arm926ejs/davinci/ether.c +1 -1
index 6dfa955..13292e1 100644
@@ -382,6 +382,7 @@ static int davinci_eth_hw_init(void)
         }
 
         phy_id |= tmp & 0x0000ffff;
+       debug_emac("phy_id %#x\n", phy_id);
 
         switch (phy_id) {
                 case PHY_LXT972:
@@ -528,7 +529,7 @@ static int davinci_eth_open(void)
         if (!phy.get_link_speed(active_phy_addr))
                 return(0);
         else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 

defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC) +#if defined(CFG_DM6467_EVM)

                 emac_gigabit_enable();
  #endif
         }
@@ -623,7 +624,7 @@ static int davinci_eth_send_packet (volatile void 
*packet, int length)
                 return (ret_status);
         }
         else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 
defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC)
+#if defined(CFG_DM6467_EVM)
                 emac_gigabit_enable();
  #endif
         }
@@ -651,7 +652,7 @@ static int davinci_eth_send_packet (volatile void 
*packet, int length)
                         return (ret_status);
                 }
                 else {
-#if defined(CFG_DM6467_EVM) || defined(CFG_DM365_EVM) || 
defined(CFG_DM365_IPNC) || defined(CFG_DM368_IPNC)
+#if defined(CFG_DM6467_EVM)
                         emac_gigabit_enable();
  #endif
                 }
Signature · 10 lines
-- 
? ?????????,
??????????? ?????? ????????????
?????????????????????????
???????????, ??????????? ?????
??? ?????????
??????????? ??? ? ????????????? ???????? ???????
?????????????????????????
+7(495)221-66-22
http://www.byterg.ru    http://www.bestdvr.ru
#1 lore raw

PATCH 1/3 add new PHY chips support

Hi Brilliantov (or is it Kirill? Apologies for any mistake here)

Le 04/10/2011 08:25, Brilliantov Kirill Vladimirovich a ?crit :

Quoted 2 lines

TexasInstruments Davinci DM365/8 processors havn't 1000Mb/s support. Tested on U-boot 1.3.4

For the sake of completeness (other patches by you have been NAKed for the same reason, but I haven't seen this one mentioned), this patch will need testing on a recent u-boot. 1.3.4 is far too old.

Amicalement,

Signature · 1 line
Albert.