Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp3476860rwb; Sat, 6 Aug 2022 23:45:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR77kd9J+kwBaHcDye7+9uNHX3/RDuVOm/CBhzhXdobXxF4ECiyYYMo6LBt428WPJaIwX/vx X-Received: by 2002:a05:6402:f17:b0:43e:4700:f63e with SMTP id i23-20020a0564020f1700b0043e4700f63emr13247842eda.190.1659854735792; Sat, 06 Aug 2022 23:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659854735; cv=none; d=google.com; s=arc-20160816; b=fYTPgB5hAD/MfhrNIOKBdUxk+p3fQsWFddaqU4TcfT4pwBv4C2Ds0HUeCqFuq3Gzo7 RkGajmyRkbCn54i26tNF/ME78tU80L1Jp+FKSIiQuoJNITC/qRxlyi4IMthyccAN06MP vmrwozAiUhDDaYqbQxzqxiuaWXhWrCcO3fTOw5BCpkigL6H1TFTZ2krf/8uifs0ArrSz AAkArCuQjd4DCOg3s42w9400eoUBVShzH0/NDDwP1eBF9xlmJvsMv0AMD0ovB4bl3wRa +jIQYHEnwAs6xsOECET+ki6F7CuiuGvhc9QFe6CNntHycVRQTlQuef0ReuXuqVLaR3Qs 36nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wf1e9Ci1oy7RlZdz+nEEGhYLv9kC+GZg9dEqFsGsqmo=; b=V0cN1G3ALPTphHvuhSeP++EPppPtebD9WBTLOOuKKzY61H+s3y7lOHUe0a26w9rqD7 zsm0tANg/jSr712IYh/M7nHumEJbBHVHd9CDC2C0uYSmQiKlRdcxkOTV2QJLGpbHEOzX uWotZun+13xyeNlxC82DJ3fhujl13mEX2foun7r/dJjAXTOpjS1Mr1Gi6gAEI0IhNQzB G6d7kA6yM04NcB6D8/d4ZmstPmuFb6r9rEmMoixwVlKx6LkL8Wbwhby7nbYNlPZk0J3S g8mmnGKnq1TRxaiJh4vUbzjLx07EXwHLfiyjFAMJlEUY4x/TM3zDNdFNY8h4DXxFnneM k6Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rWKm6oJ9; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa10-20020a1709076d0a00b0073066172279si1554702ejc.801.2022.08.06.23.45.10; Sat, 06 Aug 2022 23:45:35 -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=@linuxfoundation.org header.s=korg header.b=rWKm6oJ9; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232622AbiHGGYy (ORCPT + 99 others); Sun, 7 Aug 2022 02:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiHGGYw (ORCPT ); Sun, 7 Aug 2022 02:24:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13A3CE0FC for ; Sat, 6 Aug 2022 23:24:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 888DFB80ABD for ; Sun, 7 Aug 2022 06:24:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 015D5C433D6; Sun, 7 Aug 2022 06:24:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659853489; bh=d9ZbKkkoAn0jaQ6IbWUf+e96hveh17MMI1sapeni2mM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rWKm6oJ9w5U6cSNQvoCzHpR7O6jxHr5fR0ib91UH9LAifnti3l9mxt6Y0SIxryy3A pzpsByc5fUvySCVphLcztSivMKJcns8sWaQoimy8UeXnMO/E8i4pTelz9Y871Ec3aY CO2uPdeFgapTA8+1mr3kN71Pa1bP666/ZfOEK5uI= Date: Sun, 7 Aug 2022 08:24:44 +0200 From: Greg Kroah-Hartman To: Alexander Baehr Cc: Sudip Mukherjee , LKML Subject: Re: [PATCH 2/2] Add parport support for Asix device 99100 Message-ID: References: <20220806113124.608017725@osadl.org> <20220806113334.349537884@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220806113334.349537884@osadl.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 06, 2022 at 01:31:26PM +0200, Alexander Baehr wrote: > For some reason, Asix decided to produce a parallel port that is fully > compatible with Netmos device 9900, but named it 99100. It obviously has > another vendor ID, but the device ID is the same. This patch adds the > required settings and was successfully tested with the Asix device. > > Signed-off-by: Alexander Baehr > --- > drivers/parport/parport_pc.c | 4 ++++ > include/linux/pci_ids.h | 3 +++ > 2 files changed, 7 insertions(+) > > Index: linux/drivers/parport/parport_pc.c > =================================================================== > --- linux.orig/drivers/parport/parport_pc.c > +++ linux/drivers/parport/parport_pc.c > @@ -2612,6 +2612,7 @@ enum parport_pc_pci_cards { > netmos_9815, > netmos_9901, > netmos_9865, > + asix_ax99100, > quatech_sppxp100, > wch_ch382l, > }; > @@ -2766,6 +2767,9 @@ static const struct pci_device_id parpor > 0xA000, 0x1000, 0, 0, netmos_9865 }, > { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865, > 0xA000, 0x2000, 0, 0, netmos_9865 }, > + /* Asix AX99100 Parallel port PCIExpressCard */ > + { PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_AX99100, > + 0xA000, 0x2000, 0, 0, netmos_9900 }, > /* Quatech SPPXP-100 Parallel port PCI ExpressCard */ > { PCI_VENDOR_ID_QUATECH, PCI_DEVICE_ID_QUATECH_SPPXP_100, > PCI_ANY_ID, PCI_ANY_ID, 0, 0, quatech_sppxp100 }, > Index: linux/include/linux/pci_ids.h > =================================================================== > --- linux.orig/include/linux/pci_ids.h > +++ linux/include/linux/pci_ids.h > @@ -3108,4 +3108,7 @@ > > #define PCI_VENDOR_ID_NCUBE 0x10ff > > +#define PCI_VENDOR_ID_ASIX 0x125b > +#define PCI_DEVICE_ID_AX99100 0x9100 Please read the top of this file for why we shouldn't be added new entries to it. thanks, greg k-h