* Re: mpc8540 SK board FEC not work! (second message) [not found] <20050726060304.AF08EC372E@smtp.263.net> @ 2005-07-26 18:26 ` Andy Fleming 2005-07-27 4:10 ` mpc8540 SK board FEC work now! (Thanks for Andy Fleming) KylongMu 0 siblings, 1 reply; 2+ messages in thread From: Andy Fleming @ 2005-07-26 18:26 UTC (permalink / raw) To: KylongMu; +Cc: Linuxppc-embedded On Jul 26, 2005, at 01:02, KylongMu wrote: > > eth0 and eth1 not work, they are giga ethernet , but eth2 work > well , I know > all of them are drived under same driver " drivers/net/gianfar* ", > and I checked the 8540 datasheet , because the MAC is integrated , > the only > deferent is the PHY , the 2.4.18 kernel come with my board > is work well at all eth port , so I'm sure the hardware is OK The manual says the PHY addresses for TSEC 1 and TSEC 2 are: TSEC1: 4 TSEC2: 5 The 8540 ADS has this configuration: TSEC1: 0 TSEC2: 1 The correct solution would be to make a new board file for the SK board, and properly configure everything. However, if you insist on using the 8540 ADS config for this, you will need to change arch/ppc/ platforms/85xx/mpc8540_ads.c so that TSEC1 and TSEC2 have their phyid platform data fields assigned to be: TSEC1: 4 TSEC2: 5 ^ permalink raw reply [flat|nested] 2+ messages in thread
* mpc8540 SK board FEC work now! (Thanks for Andy Fleming) 2005-07-26 18:26 ` mpc8540 SK board FEC not work! (second message) Andy Fleming @ 2005-07-27 4:10 ` KylongMu 0 siblings, 0 replies; 2+ messages in thread From: KylongMu @ 2005-07-27 4:10 UTC (permalink / raw) To: 'Andy Fleming'; +Cc: Linuxppc-embedded Hi Andy: Thanks for your help , my board's all eth ports works now , according the file you give out: " arch/ppc/ platforms/85xx/mpc8540_ads.c " , I modified the TSEC ID from 0,1 to 4,5 , and modified the TFEC interrupt source from 5 to 7 , after these modification , my board can work. Thanks a lot! KylongMu On Jul 26, 2005, at 01:02, KylongMu wrote: > > eth0 and eth1 not work, they are giga ethernet , but eth2 work well , > I know all of them are drived under same driver " drivers/net/gianfar* > ", and I checked the 8540 datasheet , because the MAC is integrated , > the only deferent is the PHY , the 2.4.18 kernel come with my board is > work well at all eth port , so I'm sure the hardware is OK On Jul 27, 2005, at 02:26, Andy Fleming wrote: The manual says the PHY addresses for TSEC 1 and TSEC 2 are: TSEC1: 4 TSEC2: 5 The 8540 ADS has this configuration: TSEC1: 0 TSEC2: 1 The correct solution would be to make a new board file for the SK board, and properly configure everything. However, if you insist on using the 8540 ADS config for this, you will need to change arch/ppc/ platforms/85xx/mpc8540_ads.c so that TSEC1 and TSEC2 have their phyid platform data fields assigned to be: TSEC1: 4 TSEC2: 5 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-27 4:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050726060304.AF08EC372E@smtp.263.net>
2005-07-26 18:26 ` mpc8540 SK board FEC not work! (second message) Andy Fleming
2005-07-27 4:10 ` mpc8540 SK board FEC work now! (Thanks for Andy Fleming) KylongMu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox