summaryrefslogtreecommitdiff
path: root/packages/linux/linux-efika-2.6.20
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-21 23:22:30 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-21 23:22:30 +0000
commitaae9de2a89a3b6464ba893df30e711b574aa1467 (patch)
tree1097aac5849b0d58bf0b8c290d7cfba421d92bcf /packages/linux/linux-efika-2.6.20
parenta0c00ff8342e3b41f3feb60b3710665ea7879546 (diff)
parentdf30e95c8af93e2fafac7cc7bca7ef0f4c27e035 (diff)
merge of '6c7f9afdafc67f5e5a8263301ca0cfce430be173'
and '8ee01e7aef977a6c51cf71b7d11f65f42e0dc413'
Diffstat (limited to 'packages/linux/linux-efika-2.6.20')
-rw-r--r--packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt27
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 */
+