[PATCH] RE: FCC Ethernet startup crash

Rune Torgersen runet at innovsys.com
Tue Apr 12 00:40:24 EST 2005


Found a soulution.
Still have no idea about the cause.

The part that had to be called twice toget the ethernet to work was 

	/* Enable transmit/receive */
	fccp->fcc_gfmr |= FCC_GFMR_ENR | FCC_GFMR_ENT;

So I added that to the end of init_fcc_startup(), and kept the rest of
the patch the same as v1 (or v2)
None of the interrupts are enabled at this time, so any spurious packets
will not get reported up to IP layer anyways.

This works on my hardware. (tested with ping -f)

Signed-off-by: Rune Torgersen <runet at innovsys.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fcc_enet_startup_crash_v4.patch
Type: application/octet-stream
Size: 1798 bytes
Desc: fcc_enet_startup_crash_v4.patch
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050411/1d99e741/attachment.obj 


More information about the Linuxppc-embedded mailing list