Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5316415imm; Tue, 31 Jul 2018 08:57:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfVcUXocK02loPgCXxXWTr+1Pdac32PN8QDS37t0aXF3COqaogtQq3+4Rk61DTbt8OVYaPh X-Received: by 2002:a17:902:7845:: with SMTP id e5-v6mr5443372pln.197.1533052648331; Tue, 31 Jul 2018 08:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533052648; cv=none; d=google.com; s=arc-20160816; b=R4BcIJjTE3lrzOeNa7PXzgjVTohwfFRIAt/9FE78c59q2eQ83CicbY6kKcBOLW9EEv 8E5/bsVvFOD07sJ302C/IbzYbd5NgRWH/+eNJ7TflafRvHPm3mEUgqQqCjGZCd7GOL5Z J5rMcXaZyCTMRO1wDRyk5eXKpwiu0GTIIBS4xI78yiogoj8xS9bQjMQFk6cPAyuXLHz8 J7YK6y8+WcgDE6yfiUWL2Wgl2lvr6SF4dlp+f5Y6+2HSaFqdfhKfHqPHvaQLyjibwj9x OozMt1dsArA5Z3Q1/yjni1X0CcA7P04JiDa/G9exSwRdyQpSnUf3QHjoexpAQVV+Mqdj v1cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=pFjZod/eQ3B8gDCTUgXnTQTaFLTWF8ugwD5NcZ8TXTM=; b=toNeRT5Qm7t8b68APggj5iK/gQ3/cA6KYefGaeeF7uUJB1wOkm6HFs7wtMpnF1+6x3 SezdLw3XN4/wzaFDnVrIvK2mBFMwhAbKfaJVJpWG1JBXyPSDvt6zbGWEmGcPs/SYBCkk g1s58Qfnp7wi5151cOn1ogrOKw3wjVxeHAuCT/3lzo5vp31P5b8tY6mVORmB1sOBEIqQ OgLJQ/dOAaJkIvANZLrmLX0JtRYl5bQjjUUybVELPAbQOUw3n6QwHR9J97XtsRwUVtFL uSIpMuVRMkjQDnWLzYbKDBDBXl56yZlwsUVz9ZhW/3j3Aa695+2xIBcJt3Dvx8GJJNn3 xBrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=mz00cNcl; 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 s16-v6si14503325pgg.538.2018.07.31.08.57.13; Tue, 31 Jul 2018 08:57:28 -0700 (PDT) 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=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=mz00cNcl; 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 S1732416AbeGaRhU (ORCPT + 99 others); Tue, 31 Jul 2018 13:37:20 -0400 Received: from mail-yw0-f180.google.com ([209.85.161.180]:34923 "EHLO mail-yw0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732333AbeGaRhU (ORCPT ); Tue, 31 Jul 2018 13:37:20 -0400 Received: by mail-yw0-f180.google.com with SMTP id t18-v6so5962713ywg.2 for ; Tue, 31 Jul 2018 08:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=pFjZod/eQ3B8gDCTUgXnTQTaFLTWF8ugwD5NcZ8TXTM=; b=mz00cNclEYdVBwDDvJJxlKlxbxzlpB6kROOsRGY+2T9ipnFUkIx1Qs/+hG9C4mcViL 66gB+XYgrhtQ5UF8ep3EcX4DxhYcV0DhPX6TQMy/x0MZCYeqQS5bTeFP+nWJRR4VEd9U oDQGPk++C7DigbW8kr2CyAWTN0Qo+j2S94FdogI2XXVBnep9Ntm7Fj8uEWQ6d2hLMyGJ D4nw3Czru9Cfq9QrdKDbUzAMoZft4KFXRi+c55psLZw52Xu3btyrAavwoilUQ5y9o8Bw /UxytDxjB74RpfymhAseyUqrN1b5ALduJn3wCOjwVM2OeRXGo0m60cCQkpK9PcpWRaVt N/AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pFjZod/eQ3B8gDCTUgXnTQTaFLTWF8ugwD5NcZ8TXTM=; b=hooZoLo6oXZwd4hPGKReir3FCWx74Ezg469M6DoJ0i/ynYBaNzwuJ8s2Gz8ScVN0zc Gz4sShmyWI2ahIEtKwsCSWOG0Dfh8WNIWfnq9W/zVKwuXSt6jy1P+V4sTS54BFlyL+ua DAT43qyBWWG+fYsD2dSVI20LnbgVpszk9sFqbLm+wN1Zq6b23A2O6GJsml9RWhXwwbzD ygwnXWMHTFP0AflmTdp0nVf5xoXd/QBKXFleFHwEg8EeGybBnlMa9Yik4Jl40ovHngIG /I92yVdifIFGtkMno/j1IxUyJgVE3OuP04sXw7xujSrtCJWN8rTT6JxzC6cNDM7lLz54 OGjg== X-Gm-Message-State: AOUpUlGXS9ZFTK/1Wwng38JEgXRU0PJk3ernzYy8C1qCtvkxE9d+ZVrH ilOxG1j5EpxtpTWLl6426HMqtQ== X-Received: by 2002:a81:9446:: with SMTP id l67-v6mr3161819ywg.117.1533052581933; Tue, 31 Jul 2018 08:56:21 -0700 (PDT) Received: from graymalkin (76-230-155-4.lightspeed.rlghnc.sbcglobal.net. [76.230.155.4]) by smtp.gmail.com with ESMTPSA id i12-v6sm7415267ywa.35.2018.07.31.08.56.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jul 2018 08:56:21 -0700 (PDT) Received: by graymalkin (sSMTP sendmail emulation); Tue, 31 Jul 2018 11:56:19 -0400 From: Jon Mason To: David S Miller Cc: Bjorn Helgaas , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] net: change Exar/Neterion menu items to be alphabetical Date: Tue, 31 Jul 2018 11:56:19 -0400 Message-Id: <20180731155619.16310-1-jdmason@kudzu.us> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Neterion was standalone for several years, then acquired by Exar and shutdown in 11 months without ever making any new Exar branded adapters. Users would probably think of them as Neterion and not Exar (as there have been no follow-on adapters and the vast majority ever sold were under the Neterion name). 6c541b4595a2 ("net: ethernet: Sort Kconfig sourcing alphabetically") sorted Kconfig sourcing based on directory names, but in a couple cases, the menu item text is quite different from the directory name and is not sorted correctly: drivers/net/ethernet/neterion/Kconfig => "Exar devices" To address that and clear up any confusion about the name, "Exar" was changed to "Neterion (Exar)" and the relevant entries in the Makefile and Kconfig were reordered to match the alphabetical organization. Inspired-by: Bjorn Helgaas Signed-off-by: Jon Mason --- drivers/net/ethernet/Kconfig | 2 +- drivers/net/ethernet/Makefile | 2 +- drivers/net/ethernet/neterion/Kconfig | 23 ++++++++++++++--------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index af766fd61151..6fde68aa13a4 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig @@ -81,7 +81,6 @@ source "drivers/net/ethernet/huawei/Kconfig" source "drivers/net/ethernet/i825xx/Kconfig" source "drivers/net/ethernet/ibm/Kconfig" source "drivers/net/ethernet/intel/Kconfig" -source "drivers/net/ethernet/neterion/Kconfig" source "drivers/net/ethernet/xscale/Kconfig" config JME @@ -128,6 +127,7 @@ config FEALNX cards. source "drivers/net/ethernet/natsemi/Kconfig" +source "drivers/net/ethernet/neterion/Kconfig" source "drivers/net/ethernet/netronome/Kconfig" source "drivers/net/ethernet/ni/Kconfig" source "drivers/net/ethernet/8390/Kconfig" diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 22555e7fa752..b45d5f626b59 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile @@ -36,7 +36,6 @@ obj-$(CONFIG_NET_VENDOR_DEC) += dec/ obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ obj-$(CONFIG_NET_VENDOR_EZCHIP) += ezchip/ -obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/ obj-$(CONFIG_NET_VENDOR_FREESCALE) += freescale/ obj-$(CONFIG_NET_VENDOR_FUJITSU) += fujitsu/ @@ -60,6 +59,7 @@ obj-$(CONFIG_NET_VENDOR_MOXART) += moxa/ obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ obj-$(CONFIG_FEALNX) += fealnx.o obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ +obj-$(CONFIG_NET_VENDOR_NETERION) += neterion/ obj-$(CONFIG_NET_VENDOR_NETRONOME) += netronome/ obj-$(CONFIG_NET_VENDOR_NI) += ni/ obj-$(CONFIG_NET_NETX) += netx-eth.o diff --git a/drivers/net/ethernet/neterion/Kconfig b/drivers/net/ethernet/neterion/Kconfig index 71899009c468..c26e0f70c494 100644 --- a/drivers/net/ethernet/neterion/Kconfig +++ b/drivers/net/ethernet/neterion/Kconfig @@ -2,8 +2,8 @@ # Exar device configuration # -config NET_VENDOR_EXAR - bool "Exar devices" +config NET_VENDOR_NETERION + bool "Neterion (Exar) devices" default y depends on PCI ---help--- @@ -11,16 +11,19 @@ config NET_VENDOR_EXAR Note that the answer to this question doesn't directly affect the kernel: saying N will just cause the configurator to skip all - the questions about Exar cards. If you say Y, you will be asked for - your specific card in the following questions. + the questions about Neterion/Exar cards. If you say Y, you will be + asked for your specific card in the following questions. -if NET_VENDOR_EXAR +if NET_VENDOR_NETERION config S2IO - tristate "Exar Xframe 10Gb Ethernet Adapter" + tristate "Neterion (Exar) Xframe 10Gb Ethernet Adapter" depends on PCI ---help--- This driver supports Exar Corp's Xframe Series 10Gb Ethernet Adapters. + These were originally released from S2IO, which renamed itself + Neterion. So, the adapters might be labeled as either one, depending + on its age. More specific information on configuring the driver is in . @@ -29,11 +32,13 @@ config S2IO will be called s2io. config VXGE - tristate "Exar X3100 Series 10GbE PCIe Server Adapter" + tristate "Neterion (Exar) X3100 Series 10GbE PCIe Server Adapter" depends on PCI ---help--- This driver supports Exar Corp's X3100 Series 10 GbE PCIe - I/O Virtualized Server Adapter. + I/O Virtualized Server Adapter. These were originally released from + Neterion, which was later acquired by Exar. So, the adapters might be + labeled as either one, depending on its age. More specific information on configuring the driver is in . @@ -50,4 +55,4 @@ config VXGE_DEBUG_TRACE_ALL the vxge driver. By default only few debug trace statements are enabled. -endif # NET_VENDOR_EXAR +endif # NET_VENDOR_NETERION -- 2.14.4