lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 5 Mar 2007 11:12:54 +0100
From:	"Cedric Pontois" <cpontois@...tel.com>
To:	<dmalek@....net>, <leoli@...escale.com>
Cc:	<linux-kernel@...r.kernel.org>
Subject: [patch 1/1] ppc: Possible bug fix for FCC driver

From: Cedric Pontois <cpontois@...tel.com>

We use a kernel 2.6.14 on PPC platform (MPC 8555). The FCC driver works
well with a 100Mbps link. But it doesn't with a 10Mbps link. To solve
it, I modified the GFMR register init: removed TCI bit and set CRC32 bit
instead of. 

       Developer's Certificate of Origin 1.1

        By making a contribution to this project, I certify that:

        (a) The contribution was created in whole or in part by me and I
            have the right to submit it under the open source license
            indicated in the file; or

        (b) The contribution is based upon previous work that, to the
best
            of my knowledge, is covered under an appropriate open source
            license and I have the right under that license to submit
that
            work with modifications, whether created in whole or in part
            by me, under the same open source license (unless I am
            permitted to submit under a different license), as indicated
            in the file; or

        (c) The contribution was provided directly to me by some other
            person who certified (a), (b) or (c) and I have not modified
            it.

	(d) I understand and agree that this project and the
contribution
	    are public and that a record of the contribution (including
all
	    personal information I submit with it, including my
sign-off) is
	    maintained indefinitely and may be redistributed consistent
with
	    this project or the open source license(s) involved.

	Signed-off-by: Cedric Pontois <cpontois@...tel.com>

------------------------------------------------------------------------
-----

diff -ruN pa-original/arch/ppc/8260_io/fcc_enet.c
pa-patched/arch/ppc/8260_io/fcc_enet.c
--- pa-original/arch/ppc/8260_io/fcc_enet.c	2007-03-02
14:57:07.000197000 +0100
+++ pa-patched/arch/ppc/8260_io/fcc_enet.c	2007-03-02
14:57:08.000038000 +0100
@@ -2232,7 +2232,7 @@
 
 	/* Set GFMR to enable Ethernet operating mode.
 	 */
-	fccp->fcc_gfmr = (FCC_GFMR_TCI | FCC_GFMR_MODE_ENET);
+	fccp->fcc_gfmr = (FCC_GFMR_TCRC_32 | FCC_GFMR_MODE_ENET);
 
 	/* Set sync/delimiters.
 	*/

------------------------------------------------------------------------
-----

"The author works for the Alcatel-Lucent group, who is solely
responsible for this email and its contents. All enquiries regarding
this email should be addressed to Alcatel-Lucent. Nortel has provided
the use of the nortel.com domain to Alcatel-Lucent in connection with
this email solely for the purpose of connectivity and Nortel has no
liability for the email or its contents.  Alcatel Lucent's web site is
http://www.alcatel-lucent.com"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ