[PATCH 3/3] ucc_geth: Don't needlessly change MAC settings in adjust_link()

2009-12-24 Thread Anton Vorontsov
If PHY doesn't have an IRQ, phylib would poll for link changes, and would call adjust_link() every second. In that case we disable and enable the controller every second. Let's better check if there is actually anything changed, and, if so, change the MAC settings. Signed-off-by: Anton Vorontsov

[PATCH 2/3] ucc_geth: Fix netdev watchdog triggering on link changes

2009-12-24 Thread Anton Vorontsov
Since commit 864fdf884e82bacbe8ca5e93bd43393a61d2e2b4 ("ucc_geth: Fix hangs after switching from full to half duplex") ucc_geth driver disables the controller during MAC configuration changes. Though, disabling the controller might take quite awhile, and so the netdev watchdog might get upset: NE

[PATCH 1/3] ucc_geth: Fix empty TX queue processing

2009-12-24 Thread Anton Vorontsov
Following oops was seen with the ucc_geth driver: Unable to handle kernel paging request for data at address 0x0058 Faulting instruction address: 0xc024f2fc Oops: Kernel access of bad area, sig: 11 [#1] [...] NIP [c024f2fc] skb_recycle_check+0x14/0x100 LR [e30aa0a4] ucc_geth_poll+0xd8/0x

[PATCH 0/3] ucc_geth: Some more fixes

2009-12-24 Thread Anton Vorontsov
Hi all, Here are some more fixes and one small enhancement for the ucc_geth driver. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.or

RE: [HELP] BAD interrupts

2009-12-24 Thread Kumar Gopalpet-B05799
>-Original Message- >From: gshan [mailto:gs...@alcatel-lucent.com] >Sent: Thursday, December 24, 2009 5:16 PM >To: mich...@ellerman.id.au >Cc: Kumar Gopalpet-B05799; net...@vger.kernel.org; >linuxppc-dev@lists.ozlabs.org >Subject: Re: [HELP] BAD interrupts > >Michael Ellerman wrote: >>