All times are UTC-06:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Mar 09, 2007 4:49 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
you can add it after our efika's patch collection (sven-efika+cruxppc-2007.01.25.tar.gz )...
for a while you can download it (the 33th patch) here:


http://acrux.homelinux.org/files/0033-E ... pl_aln.txt
Code:
--- half/drivers/net/fec_mpc52xx/fec.c 2007-03-08 18:02:54.000000000 +0100
+++ full/drivers/net/fec_mpc52xx/fec.c 2007-03-08 18:06:45.000000000 +0100
@@ -525,7 +525,7 @@
priv->phy_speed = ((bd->bi_ipbfreq >> 20) / 5) << 1;
#endif

- fec_restart(dev, 0); /* always use half duplex mode only */
+ fec_restart(dev, 1); /* now use full duplex mode only */
/*
* Read MIB counters in order to reset them,
* then zero all the stats fields in memory
--- half/drivers/net/fec_mpc52xx/fec_phy.c 2007-03-08 18:02:54.000000000 +0100
+++ full/drivers/net/fec_mpc52xx/fec_phy.c 2007-03-08 18:08:13.000000000 +0100
@@ -227,8 +227,8 @@
"GENERIC",

(const phy_cmd_t []) { /* config */
- /* advertise only half-duplex capabilities */
- { mk_mii_write(MII_ADVERTISE, MII_ADVERTISE_HALF),
+ /* advertise only full-duplex capabilities */
+ { mk_mii_write(MII_ADVERTISE, MII_ADVERTISE_ALL),
mii_parse_anar },

/* enable auto-negotiation */
--
it seems to work fine on our test kernel-2.6.20.2, btw this patch is only for testing pourpose.

greetz,
The Crux PPC Team

_________________
acrux _at_ linuxmail _dot_ org


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group