[PATCH v2] lan78xx: Connect phy early

2018-04-03 Thread Alexander Graf
applied, I can successfully run wicked on my system and bring the interface up and down as many times as I want, without getting NULL pointer dereferences in between. Signed-off-by: Alexander Graf <ag...@suse.de> --- v1 -> v2: - move debug message (Andrew Lunn) - check for phydev != NU

[PATCH] lan78xx: Connect phy early

2018-03-14 Thread Alexander Graf
applied, I can successfully run wicked on my system and bring the interface up and down as many times as I want, without getting NULL pointer dereferences in between. Signed-off-by: Alexander Graf <ag...@suse.de> --- drivers/net/usb/lan78xx.c | 21 ++--- 1 file changed, 10 inse

Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-17 Thread Alexander Graf
> Am 17.05.2016 um 22:40 schrieb Dan Murphy <dmur...@ti.com>: > >> On 05/17/2016 03:37 PM, Alexander Graf wrote: >> Hi David, >> >>> Am 17.05.2016 um 20:48 schrieb David Miller <da...@davemloft.net>: >>> >>> From: Dan Mu

Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-17 Thread Alexander Graf
Hi David, > Am 17.05.2016 um 20:48 schrieb David Miller <da...@davemloft.net>: > > From: Dan Murphy <dmur...@ti.com> > Date: Tue, 17 May 2016 13:34:34 -0500 > >> David >> >>> On 05/17/2016 01:22 PM, David Miller wrote: >>> From: Alexan

[PATCH v2 2/2] phy dp83867: Make rgmii parameters optional

2016-05-16 Thread Alexander Graf
in the device tree, otherwise we fail to load the driver and don't even attach the generic phy driver to the interface anymore. To make things slightly more consistent, make the rgmii configuration properties optional and allow a user to omit them in their device tree. Signed-off-by: Alexander Graf <

[PATCH v2 1/2] phy dp83867: Fix compilation with CONFIG_OF_MDIO=m

2016-05-16 Thread Alexander Graf
for both - module as well as compiled in code. Signed-off-by: Alexander Graf <ag...@suse.de> --- drivers/net/phy/dp83867.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 2afa61b..94cc278 100644 --- a/drivers/n

Re: [PATCH] phy dp83867: depend on CONFIG_OF_MDIO

2016-05-16 Thread Alexander Graf
On 16.05.16 14:44, Andrew Lunn wrote: > On Mon, May 16, 2016 at 01:28:15PM +0200, Alexander Graf wrote: >> The DP83867 phy driver doesn't actually work when CONFIG_OF_MDIO isn't >> enabled. >> It simply passes the device tree test, but leaves all internal configuratio

Re: [PATCH] phy dp83867: depend on CONFIG_OF_MDIO

2016-05-16 Thread Alexander Graf
Hi Dan, On 16.05.16 15:38, Dan Murphy wrote: > Alexander > > On 05/16/2016 06:28 AM, Alexander Graf wrote: >> The DP83867 phy driver doesn't actually work when CONFIG_OF_MDIO isn't >> enabled. >> It simply passes the device tree test, but leaves all internal config

[PATCH] phy dp83867: depend on CONFIG_OF_MDIO

2016-05-16 Thread Alexander Graf
that we only build the DP83867 phy code when CONFIG_OF_MDIO is set, to not run into that problem. Signed-off-by: Alexander Graf <ag...@suse.de> --- drivers/net/phy/Kconfig | 1 + drivers/net/phy/dp83867.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/n

Re: [PATCH] qeth: Default to allow promiscuous mode

2016-03-19 Thread Alexander Graf
On 17.03.16 18:52, Evgeny Cherkashin wrote: > Hello all, > > -Alexander Graf <ag...@suse.de> wrote: - > >> To: linux-s...@vger.kernel.org >> From: Alexander Graf <ag...@suse.de> >> Date: 2016-03-17 20:01 >> Cc: Evgeny Cherkashin/Russia/I

[PATCH] [iputils] Print received packets as icmp_seq

2007-08-07 Thread Alexander Graf
Now, ping and ping6 print the packets which are actually received, too, not only the amount of sent packets. It has the format: icmp_seq=received/seq Signed-off-by: Alexander Graf [EMAIL PROTECTED] --- ping_common.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH] [iputils] Print packet loss with more precision

2007-08-07 Thread Alexander Graf
Signed-off-by: Alexander Graf [EMAIL PROTECTED] --- ping_common.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ping_common.c b/ping_common.c index 83be553..49acab2 100644 --- a/ping_common.c +++ b/ping_common.c @@ -795,9 +795,9 @@ void finish(void