Message ID | 20221017142338.1445199-1-christian.gmeiner@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1483629wrs; Mon, 17 Oct 2022 07:34:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Fd5RG6n+ZO8oDvLOxDMiaechRYIEJQ4vApqnz+k51XEX+7SFvQAxKuws1hHTzjOge2ccK X-Received: by 2002:a17:90b:3555:b0:20a:c2d5:d361 with SMTP id lt21-20020a17090b355500b0020ac2d5d361mr14466370pjb.50.1666017289108; Mon, 17 Oct 2022 07:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666017289; cv=none; d=google.com; s=arc-20160816; b=kjmUzo5H+2Iqa9PqVQFUSfheARy+7RB7xxTjolwqaTxqEvmHjQFCtBx55XjSXlR4rb tgmkrkSKJL1c1bHlGPLGs6AKDYOZ/yWkcRp8NtkuBbS1VDQwS3p86qh/7P7RA6Z5xvah WBjpPmV+vFzEMRgRHXsJAlO0CwBhQL3RHBWd+ZqsE6b0t4+sgpcQ9/9eDtBeeQFqvEd1 7oII8nlta8bajGTHkoGncwucyciZMbJ0Rv6aTzAgpbxBgSKRT/95mqO7NGWMhTIrrtCQ y8r2RJ8cLRa7wydyG5+0oHeAjsRNHWcG4BMADzHJk9BiqlNbm8soZO4ZGCaX88Yq0/f5 WaMQ== 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=LqqfVLOxILFk0qEHZSQ0cmR9EC3sGib5qPhxAGrH5s4=; b=qDY2XEuAROWomMzk5bZBUEYfTZ6lk6tZodjsDzmJJkzCNq3zsnqTBy/8ByxFwFYG0x kgl+X8cbYuo9eott9LQBKPE7pX0iqvUgDeon0TwJqB+fh9lesEHR+U+BKwUQWnuAbS89 XJcDENrUjfk2qd8VoV76fp2a4M4Ji1zSB1vt9oE3o2WhoaVdhppc7iPJ7i9F6jcGM/wD al7t3S91ZOxLZZZed/Z6gGkbrX4jpbhw5AOHgWwLH70cGs8ukPdLPDpuNxeVOX4CUD+d 045JsNhU5tES1EUErTt/aVptr6Zxz/DmesflS7gdticGl9zstH0GUz7okwO3LaiK4edQ 0SVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Mv04zLae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a170902b18500b00174a8d357b0si11728638plr.202.2022.10.17.07.34.35; Mon, 17 Oct 2022 07:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Mv04zLae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230390AbiJQOXv (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Mon, 17 Oct 2022 10:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230454AbiJQOXo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Oct 2022 10:23:44 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 542A565278; Mon, 17 Oct 2022 07:23:43 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id r8-20020a1c4408000000b003c47d5fd475so12818381wma.3; Mon, 17 Oct 2022 07:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LqqfVLOxILFk0qEHZSQ0cmR9EC3sGib5qPhxAGrH5s4=; b=Mv04zLaeTr9p+iTUMg17u98X5TuNK1AMn+THpruMtXd09FdJuv5TUgpqieSS4ZTuWs UBrBK1hJfX8OkRrjHB+w6Dqqi6IF5tLPd8XzgoqkGer5E3FVfnR+Y5LpW69hxdwBBYSN QbV2jdxT8p8R6dBoIc66FtEnLfmqjvR66pmwit8CVMVQ4pjKDmX88AcfGXl89ouUNA9n iriLXwP/pAQ++dlNwiLoLEpP97RnIMu80UGv4slNXk9E+qmtWf65JPbdZ5HBDcIKVNW1 XAfVsrYopWvmHHxLsC08+s0qM8vijF8o1nCRWwMpUviq/bfHOISPCrdI/MSvhN0f0on8 ow3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LqqfVLOxILFk0qEHZSQ0cmR9EC3sGib5qPhxAGrH5s4=; b=Vxtf7cShBko8ESV4NsvyiQsCk3SO6G/6jBszWc7UZTw3wE1otTZl5refQZQmyL/aRT K0m5Qy8sZp2VdwfMEiYU5BUuXSVuILWtWJTJhpdGblOUNTMqEZiAJ3X0mq3HuSf5cHCv ZcYfO9cd/WkOGYh2CyeS3N/glIL5YAutLr9kxKPTzgNwdbm4R3I5JdDUlY80uvfsmFsn NIiCS87o33gtc0m43M8XRCL+BJ0ujD6+YfyuGPRsU7La1GLOpnT5IKETDfJ2UuXr7VlW MYU3DbrOx8bfJ2J0TiFpmZuH9KOdoEq5JziSAqGR3BaRLJ/Gi0YmlHdgBD4cf7GF6Oq/ xG2Q== X-Gm-Message-State: ACrzQf1Hk9+jErh35vscEnzUzPsQFv2b5Wpw2+36nmwry5bXU/d1OolB 8J7b61StFJ2Q7/KASV2EbQ+xTGTEkp8= X-Received: by 2002:a7b:c3c4:0:b0:3c4:785a:36d7 with SMTP id t4-20020a7bc3c4000000b003c4785a36d7mr19941334wmj.138.1666016621738; Mon, 17 Oct 2022 07:23:41 -0700 (PDT) Received: from chgm-pc-linux.. (089144219037.atnat0028.highway.a1.net. [89.144.219.37]) by smtp.gmail.com with ESMTPSA id y3-20020a7bcd83000000b003b492753826sm10151613wmj.43.2022.10.17.07.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 07:23:40 -0700 (PDT) From: Christian Gmeiner <christian.gmeiner@gmail.com> To: Bjorn Helgaas <bhelgaas@google.com> Cc: Christian GMEINER <Christian.GMEINER@bachmann.info>, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: Add Bachmann electronic GmbH vendor ID Date: Mon, 17 Oct 2022 16:23:37 +0200 Message-Id: <20221017142338.1445199-1-christian.gmeiner@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746945744972860310?= X-GMAIL-MSGID: =?utf-8?q?1746945744972860310?= |
Series |
PCI: Add Bachmann electronic GmbH vendor ID
|
|
Commit Message
Christian Gmeiner
Oct. 17, 2022, 2:23 p.m. UTC
From: Christian GMEINER <Christian.GMEINER@bachmann.info> Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+)
Comments
On Mon, Oct 17, 2022 at 04:23:37PM +0200, Christian Gmeiner wrote: > From: Christian GMEINER <Christian.GMEINER@bachmann.info> > > Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> I tweaked it to shorten the name in the style of other entries and sort it by numeric ID. I assume there's a driver that will use this definition. If so, you might want to post this patch (including my ack) along with the driver so they get merged together. But let me know if you need me to take it directly. Also it will be helpful if you can add the item to the PCI ID database here: https://pci-ids.ucw.cz/read/PC?restrict=0, which will let lspci identify devices with this Vendor ID. Bjorn commit 2fa819fdbb2b ("PCI: Add Bachmann electronic GmbH vendor ID") Author: Christian GMEINER <Christian.GMEINER@bachmann.info> Date: Mon Oct 17 16:23:37 2022 +0200 PCI: Add Bachmann electronic GmbH vendor ID Link: https://lore.kernel.org/r/20221017142338.1445199-1-christian.gmeiner@gmail.com Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> Acked-by: Bjorn Helgaas <bhelgaas@google.com> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index b362d90eb9b0..4cc0e9ecd398 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2,7 +2,7 @@ /* * PCI Class, Vendor and Device IDs * - * Please keep sorted. + * Please keep sorted by numeric ID. * * Do not add new entries to this file unless the definitions * are shared between multiple drivers. @@ -153,7 +153,7 @@ #define PCI_CLASS_OTHERS 0xff -/* Vendors and devices. Sort key: vendor first, device next. */ +/* Vendors and devices. Numeric sort key: vendor first, device next. */ #define PCI_VENDOR_ID_PCI_SIG 0x0001 #define PCI_VENDOR_ID_LOONGSON 0x0014 @@ -172,6 +172,8 @@ #define PCI_DEVICE_ID_BERKOM_A4T 0xffa4 #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO 0xffa8 +#define PCI_VENDOR_ID_BACHMANN 0x0bae + #define PCI_VENDOR_ID_COMPAQ 0x0e11 #define PCI_DEVICE_ID_COMPAQ_TOKENRING 0x0508 #define PCI_DEVICE_ID_COMPAQ_TACHYON 0xa0fc > --- > include/linux/pci_ids.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index b362d90eb9b0..b93a52977d85 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -166,6 +166,8 @@ > > #define PCI_VENDOR_ID_UBIQUITI 0x0777 > > +#define PCI_VENDOR_ID_BACHMANN_ELECTRONIC 0x0bae > + > #define PCI_VENDOR_ID_BERKOM 0x0871 > #define PCI_DEVICE_ID_BERKOM_A1T 0xffa1 > #define PCI_DEVICE_ID_BERKOM_T_CONCEPT 0xffa2 > -- > 2.37.3 >
Hi Bjorn > > On Mon, Oct 17, 2022 at 04:23:37PM +0200, Christian Gmeiner wrote: > > From: Christian GMEINER <Christian.GMEINER@bachmann.info> > > > > Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> > > I tweaked it to shorten the name in the style of other entries and > sort it by numeric ID. > I am fine with that .. was not sure if there needs to be a match of the used define and the official "Member company" name: https://pcisig.com/membership/member-companies?combine=%22Bachmann+electronic%22 > I assume there's a driver that will use this definition. If so, you > might want to post this patch (including my ack) along with the driver > so they get merged together. But let me know if you need me to take > it directly. > I hope that one driver will see the public light sooner than later but I have no official time frame. > > Also it will be helpful if you can add the item to the PCI ID database > here: https://pci-ids.ucw.cz/read/PC?restrict=0, which will let lspci > identify devices with this Vendor ID. > Done - thanks. > Bjorn > > > commit 2fa819fdbb2b ("PCI: Add Bachmann electronic GmbH vendor ID") > Author: Christian GMEINER <Christian.GMEINER@bachmann.info> > Date: Mon Oct 17 16:23:37 2022 +0200 > > PCI: Add Bachmann electronic GmbH vendor ID > > Link: https://lore.kernel.org/r/20221017142338.1445199-1-christian.gmeiner@gmail.com > Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> > Acked-by: Bjorn Helgaas <bhelgaas@google.com> > > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index b362d90eb9b0..4cc0e9ecd398 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2,7 +2,7 @@ > /* > * PCI Class, Vendor and Device IDs > * > - * Please keep sorted. > + * Please keep sorted by numeric ID. > * > * Do not add new entries to this file unless the definitions > * are shared between multiple drivers. > @@ -153,7 +153,7 @@ > > #define PCI_CLASS_OTHERS 0xff > > -/* Vendors and devices. Sort key: vendor first, device next. */ > +/* Vendors and devices. Numeric sort key: vendor first, device next. */ > #define PCI_VENDOR_ID_PCI_SIG 0x0001 > > #define PCI_VENDOR_ID_LOONGSON 0x0014 > @@ -172,6 +172,8 @@ > #define PCI_DEVICE_ID_BERKOM_A4T 0xffa4 > #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO 0xffa8 > > +#define PCI_VENDOR_ID_BACHMANN 0x0bae > + > #define PCI_VENDOR_ID_COMPAQ 0x0e11 > #define PCI_DEVICE_ID_COMPAQ_TOKENRING 0x0508 > #define PCI_DEVICE_ID_COMPAQ_TACHYON 0xa0fc > > > --- > > include/linux/pci_ids.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > > index b362d90eb9b0..b93a52977d85 100644 > > --- a/include/linux/pci_ids.h > > +++ b/include/linux/pci_ids.h > > @@ -166,6 +166,8 @@ > > > > #define PCI_VENDOR_ID_UBIQUITI 0x0777 > > > > +#define PCI_VENDOR_ID_BACHMANN_ELECTRONIC 0x0bae > > + > > #define PCI_VENDOR_ID_BERKOM 0x0871 > > #define PCI_DEVICE_ID_BERKOM_A1T 0xffa1 > > #define PCI_DEVICE_ID_BERKOM_T_CONCEPT 0xffa2 > > -- > > 2.37.3 > >
On Tue, Oct 18, 2022 at 10:41:50AM +0200, Christian Gmeiner wrote: > Hi Bjorn > > > On Mon, Oct 17, 2022 at 04:23:37PM +0200, Christian Gmeiner wrote: > > > From: Christian GMEINER <Christian.GMEINER@bachmann.info> > > > > > > Signed-off-by: Christian GMEINER <Christian.GMEINER@bachmann.info> > > > > I tweaked it to shorten the name in the style of other entries and > > sort it by numeric ID. > > I am fine with that .. was not sure if there needs to be a match of > the used define and > the official "Member company" name: > https://pcisig.com/membership/member-companies?combine=%22Bachmann+electronic%22 No, it doesn't need to match exactly, this is just internal Linux stuff. BTW, thanks for the pcisig.com link; I searched for that list yesterday but couldn't find it. > > I assume there's a driver that will use this definition. If so, you > > might want to post this patch (including my ack) along with the driver > > so they get merged together. But let me know if you need me to take > > it directly. > > I hope that one driver will see the public light sooner than later but > I have no official time frame. OK, just post this along with the driver that uses it so they get merged at the same time. > > Also it will be helpful if you can add the item to the PCI ID database > > here: https://pci-ids.ucw.cz/read/PC?restrict=0, which will let lspci > > identify devices with this Vendor ID. > > Done - thanks. Thank you! Bjorn
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index b362d90eb9b0..b93a52977d85 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -166,6 +166,8 @@ #define PCI_VENDOR_ID_UBIQUITI 0x0777 +#define PCI_VENDOR_ID_BACHMANN_ELECTRONIC 0x0bae + #define PCI_VENDOR_ID_BERKOM 0x0871 #define PCI_DEVICE_ID_BERKOM_A1T 0xffa1 #define PCI_DEVICE_ID_BERKOM_T_CONCEPT 0xffa2