Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3399669pxb; Tue, 20 Apr 2021 07:32:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxq3vd1dGdFecOEt8qO6TIFvGOl+WFgjcXindTa5bbiu3Z6llzOE+FCLvKtjW9fX2tnJ6nB X-Received: by 2002:a50:bec7:: with SMTP id e7mr33393707edk.295.1618929129860; Tue, 20 Apr 2021 07:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618929129; cv=none; d=google.com; s=arc-20160816; b=dOeGYfG2YAc+avHycSmgLds3Rl4uYwqXVsNUv4Aj3iKew7x11qX8t02T9UX4T+6QPi qhocWVOWaTFkKTT9bDmTQXjivUvV7NbNK9rWpBe4De8KnGJQq8GZKMwUTc5TdTqqPFfW IzEMG/X+br6BtAqRsMVSaGWLeydVz25XeKbe0uuLxF/z76Slj3z5nNWVKf4fNXPlQP41 w5e1JGI8sqUFkXwKjYeyY3uW6OhLRjVBQJPXx+2JPMSAp9z1JsTPW0N8LoNrqHslwL1A XJ3CMKir5tiULp55Qt6rQXOwirwKJpgFZ1ufr6GJelWiE58Fbw3HWjv/OMiMOH9+61S1 +1xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ibe24inMuVO9lJAvtKMCx1ojcEUWp8ObwKIzv3V+/Xg=; b=ozpUHE1gV9YZttdmU0/vHy5mtfgxYRfG0WUp+TgH0SD9SpjgFkTIjRV/s1j75FLeB8 YNSGx3L5DbGyvi+8+9UBQDCov71tC08VR8YXkuzKA667c2LSp/18lQ3WGo6hJ00jF3Zo bQifMot8AuidCAtdSz566SXjeI7gR7cwJ+ChYRZXQGHspGu/b5j6wfrFGxrpHF+Fcc5Q mgMFcCf1ZKTi+CcGj1xU0dI8B4Gx5vQfSZ1f+e9NqxQoN1skCK5g3temH01pd1dmqfLb aExVolFzGKmSXAnaeLTPCETszpc+/zTN3TRrfyMU5h9FxoztbPHmXzv/LD3Gubb4FGFr Q1bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="gXH7N//k"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si14611085ejj.437.2021.04.20.07.31.45; Tue, 20 Apr 2021 07:32:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="gXH7N//k"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232694AbhDTO3B (ORCPT + 99 others); Tue, 20 Apr 2021 10:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232540AbhDTO3B (ORCPT ); Tue, 20 Apr 2021 10:29:01 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F301C06174A; Tue, 20 Apr 2021 07:28:29 -0700 (PDT) Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3FEB522249; Tue, 20 Apr 2021 16:28:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1618928907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ibe24inMuVO9lJAvtKMCx1ojcEUWp8ObwKIzv3V+/Xg=; b=gXH7N//k5F0zrkQMZ6FZilKdrjfprLKfMuGaUwQes3gb3bcHvD8xKgQcsCXi1htfe0OpUG NziSw8kzaj2DFUm3/ZnxRz3COMH5MAoX6DZX6WBd6Mh/OvIyYgJjV9Y8s5+4XFx+sBMIKL yRI99FzWD+BhYDMJtYvLYgjh+Zz3plQ= From: Michael Walle To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Claudiu Manoil , "David S . Miller" , Jakub Kicinski , Vladimir Oltean , Michael Walle Subject: [PATCH net-next] net: enetc: automatically select IERB module Date: Tue, 20 Apr 2021 16:28:21 +0200 Message-Id: <20210420142821.22645-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that enetc supports flow control we have to make sure the settings in the IERB are correct. Therefore, we actually depend on the enetc-ierb module. Previously it was possible that this module was disabled while the enetc was enabled. Fix it by automatically select the enetc-ierb module. Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated Endpoint Register Block") Signed-off-by: Michael Walle --- drivers/net/ethernet/freescale/enetc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/enetc/Kconfig b/drivers/net/ethernet/freescale/enetc/Kconfig index d88f60c2bb82..cdc0ff89388a 100644 --- a/drivers/net/ethernet/freescale/enetc/Kconfig +++ b/drivers/net/ethernet/freescale/enetc/Kconfig @@ -2,7 +2,7 @@ config FSL_ENETC tristate "ENETC PF driver" depends on PCI && PCI_MSI - depends on FSL_ENETC_IERB || FSL_ENETC_IERB=n + select FSL_ENETC_IERB select FSL_ENETC_MDIO select PHYLINK select PCS_LYNX -- 2.20.1