diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gcc/gcc-cross_4.1.1.bb | 2 | ||||
-rw-r--r-- | packages/linux/linux-efika-2.6.20/0033-EFIKA-fullduplex-prpl_aln.txt | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/packages/gcc/gcc-cross_4.1.1.bb b/packages/gcc/gcc-cross_4.1.1.bb index 42e9d151b1..67dbc83940 100644 --- a/packages/gcc/gcc-cross_4.1.1.bb +++ b/packages/gcc/gcc-cross_4.1.1.bb @@ -5,7 +5,7 @@ inherit cross FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" # NOTE: split PR. If the main .oe changes something that affects its *build* # remember to increment this one too. -PR = "r11" +PR = "r12" DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 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 */ + |