Re: [PATCH] pasemi_mac: ethtool get settings fix

2009-10-07 Thread David Miller
From: Olof Johansson Date: Tue, 6 Oct 2009 11:10:54 -0500 > Weird, I see my address in the to: line but I never got a copy in my inbox. > > On Mon, Oct 05, 2009 at 05:27:56PM +0400, Valentine Barshak wrote: >> Not all pasemi mac interfaces can have a phy attached. >> For example, XAUI has no phy

Re: [PATCH] pasemi_mac: ethtool get settings fix

2009-10-06 Thread Olof Johansson
Weird, I see my address in the to: line but I never got a copy in my inbox. On Mon, Oct 05, 2009 at 05:27:56PM +0400, Valentine Barshak wrote: > Not all pasemi mac interfaces can have a phy attached. > For example, XAUI has no phy and phydev is NULL for it. > In this case ethtool get settings caus

Re: [PATCH] pasemi_mac: ethtool get settings fix

2009-10-05 Thread Valentine
Resending pasemi_mac ethtool patches... Valentine Barshak wrote: Not all pasemi mac interfaces can have a phy attached. For example, XAUI has no phy and phydev is NULL for it. In this case ethtool get settings causes kernel crash. Fix it by returning -EOPNOTSUPP if there's no PHY attached. Sign