Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6262688imu; Mon, 21 Jan 2019 06:03:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN4MoRjdbe4sB9TrqOk8ewcEqOIO7/uo9NqXfbPttoO8FlBRKFWWMUYTAuoqh5ZpatlDFNYD X-Received: by 2002:a17:902:7896:: with SMTP id q22mr30685655pll.280.1548079407703; Mon, 21 Jan 2019 06:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548079407; cv=none; d=google.com; s=arc-20160816; b=SR3r/SNQzz2mAAB1jCXavZZ60UH443QNKiSSk7cErWCxbHRHxlXsFB1P46mhwu4xMa 2JOhjYww0Za9lfJQUDkgRYyJnGgUWx5kPu+ZTz4kyTz1nYph9KtKoz3QREfCm/FUncEd mEPJnYUGWK5L7W4V8mS3ieQazoi3a609uw26vXb55hjERw0P4Vn4iUisrnHE8vokRs2z pASpNQoMXeqP8D/C2VH3w36X1/Lf2v9SmZhmQzIj9I1ODtVmnESbMST9GbUw8hxQoCqo KUkRd8M8sErKCOgejuVJ/c8ZyOJNCZbOlcLyK3A3xgCYxt9trmrzoeANuX/KWDRxjnSe J1nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pkbTl171moWrazxd3qMiPO8h2WK4MPymWt5rwrocZ5k=; b=HI8vYSTAOPc6OtAVxnHXhcCQzAATcaKek5F9lra58smfqyTM8MtBm9zvQaNBEuk7Bu G0+TyhoOVUFx9zhyNbj+2hQoW93q9JDBRyhEQO7yt5dNMUQFPkStYQdcYqx90JebgJ1w UfGiSaGoHX/S3hMBE1dRQPDCwnLoxT7rNuPetGv3MRjHbazXjSR6tyHUwXcuJ/5Oz1Fq aKz0YwRCQoAg8o09enQ+QwK6P63Lbp4Bys2kQbdicJt+X6vx6yd1Cc4aX5NL6kfry355 aSbDyCB4kePBBuOEQ6J46cpIYLw6OU8hSC73kVDQAogesHTw2/8V8vbcXZNl7i9Vc/3v njgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1x9IeEXW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si10796553pgh.505.2019.01.21.06.03.05; Mon, 21 Jan 2019 06:03:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1x9IeEXW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732195AbfAUN73 (ORCPT + 99 others); Mon, 21 Jan 2019 08:59:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:45462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731351AbfAUN71 (ORCPT ); Mon, 21 Jan 2019 08:59:27 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3B7E2084C; Mon, 21 Jan 2019 13:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548079167; bh=98OTRqafMgqhZ0Zntq+roO5MwbjzFSroaZw8PesDdy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1x9IeEXWg/fOmtXIobT4LTe8XKFg2A22qAEU7mxVEP+LVm+h/SVrBE+M20FAvgXSs 0Ar1IrQvRoQGv4oMG9vDCRDiAuHovg+IGBJ7qKqJaXSQLfU5jkeg6IZzg+Cx5fpmwj x+GGdjayHIzdYrtKkuxqxINj6Www8LzI9qhrwpV4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiner Kallweit , "David S. Miller" Subject: [PATCH 4.19 30/99] r8169: load Realtek PHY driver module before r8169 Date: Mon, 21 Jan 2019 14:48:22 +0100 Message-Id: <20190121134915.043367282@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190121134913.924726465@linuxfoundation.org> References: <20190121134913.924726465@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heiner Kallweit [ Upstream commit 11287b693d03830010356339e4ceddf47dee34fa ] This soft dependency works around an issue where sometimes the genphy driver is used instead of the dedicated PHY driver. The root cause of the issue isn't clear yet. People reported the unloading/re-loading module r8169 helps, and also configuring this soft dependency in the modprobe config files. Important just seems to be that the realtek module is loaded before r8169. Once this has been applied preliminary fix 38af4b903210 ("net: phy: add workaround for issue where PHY driver doesn't bind to the device") will be removed. Fixes: f1e911d5d0df ("r8169: add basic phylib support") Signed-off-by: Heiner Kallweit Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/realtek/r8169.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -717,6 +717,7 @@ module_param(use_dac, int, 0); MODULE_PARM_DESC(use_dac, "Enable PCI DAC. Unsafe on 32 bit PCI slot."); module_param_named(debug, debug.msg_enable, int, 0); MODULE_PARM_DESC(debug, "Debug verbosity level (0=none, ..., 16=all)"); +MODULE_SOFTDEP("pre: realtek"); MODULE_LICENSE("GPL"); MODULE_FIRMWARE(FIRMWARE_8168D_1); MODULE_FIRMWARE(FIRMWARE_8168D_2);