diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-03-19 11:19:23 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-03-19 11:19:23 +0000 |
commit | b896db7df16e802793d5bd99e63757b502459da3 (patch) | |
tree | d4ef697c50cc2706c17297b05410d228e9a93d18 /packages | |
parent | 68817643afee7a51ceb5a71625b140326824dd43 (diff) |
packages/linux/linux-efika-2.6.20: Add missing patch file
Diffstat (limited to 'packages')
-rw-r--r-- | packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt b/packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt new file mode 100644 index 0000000000..6feba7b112 --- /dev/null +++ b/packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt @@ -0,0 +1,27 @@ +diff -uNr orig-drivers/net/fec_mpc52xx/fec.c drivers/net/fec_mpc52xx/fec.c +--- /orig-drivers/net/fec_mpc52xx/fec.c 2007-03-10 13:34:46.000000000 +0200 ++++ /drivers/net/fec_mpc52xx/fec.c 2007-03-10 13:45:45.000000000 +0200 +@@ -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); /* always use full duplex mode only */ + /* + * Read MIB counters in order to reset them, + * then zero all the stats fields in memory +diff -uNr orig-drivers/net/fec_mpc52xx/fec_phy.c drivers/net/fec_mpc52xx/fec_phy.c +--- /orig-drivers/net/fec_mpc52xx/fec_phy.c 2007-03-10 13:34:47.000000000 +0200 ++++ /drivers/net/fec_mpc52xx/fec_phy.c 2007-03-10 13:44:56.000000000 +0200 +@@ -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 */ + |