Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1854426pxj; Sun, 16 May 2021 06:23:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxodY65nUXk5TIZCQ8vy3Pyqqci70swW2dnTtBNw/Qm9+oZZNV4eu+4aRvrRDGFVoDxQ5m2 X-Received: by 2002:a17:906:270a:: with SMTP id z10mr56245106ejc.204.1621171417325; Sun, 16 May 2021 06:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621171417; cv=none; d=google.com; s=arc-20160816; b=G1TI+EiKoV1wwyFkSUhaUchD1sKArZuW+QCQl3+CSe7qvYpaTh4fyvG9JF0/Q8AD0x VZKT3n+g1MLEIQGLCUQvmNGzLOHgW0vswhXVEN2CyLgjrK+AYRt6mX+IYEIla10kpen1 8MBYN82CgzmvGLd2kWxmh4uBfCZrqQ1RADxU8QhZSumNpV3b5SjMiZKiKO8kyzAt/OQ6 qluWm0mABcC727g33KyTCPEzXeQpyprxXx8Y1zecVuJ9JmRUCeANHMTNXxukbGBf0uZR hZSPnnnQD27hU3oJBwiZA4uLryZXdxFFh9AqVvQ9lSJcZsDqK4oRl8TaCFdF5OhwOUR9 CRtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=N0DOdFy3dhUwBM7claE6l8PSD/35UmjHOk8hdC4L1hs=; b=Pcm7NxKhAWcoytHOQ2XP8VrFHcGvmbqYEDngTIWDoq+CXHsMmYlsmOL+5enmqrkHWA ZahTA4x9Af0TZseVGOE9TXiC2QIy4JEVJguh8rYfyiR7+21Gyl7BxdrI62CBno48m9+P 0AeAklTYOxXJj9OM/ACF40/gecm0vjjzLJ8AWaiD7vf+EuTqrDeFo9+IGGd5mgM0IsHm EIxRK/qudCfyZS3JNTAiilQ5psvx4KBGN/4z6V6gocy3edNAjd8aQfoLqZjXI+TGlc5A 862aC8Pjps8hCHfx6RZuf69qQvWsf1LbRckqvrJ+t8Y+HtDLoZvinHQh/WCeyhXnBZfa IknQ== ARC-Authentication-Results: i=1; mx.google.com; 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 k22si12198664edv.285.2021.05.16.06.22.42; Sun, 16 May 2021 06:23:37 -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; 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 S231358AbhEPAH2 (ORCPT + 99 others); Sat, 15 May 2021 20:07:28 -0400 Received: from angie.orcam.me.uk ([78.133.224.34]:33392 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbhEPAH0 (ORCPT ); Sat, 15 May 2021 20:07:26 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 59DEB92009C; Sun, 16 May 2021 02:06:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 53C5E92009B; Sun, 16 May 2021 02:06:09 +0200 (CEST) Date: Sun, 16 May 2021 02:06:09 +0200 (CEST) From: "Maciej W. Rozycki" To: Arnd Bergmann cc: netdev@vger.kernel.org, Arnd Bergmann , Paul Gortmaker , "David S. Miller" , Jakub Kicinski , Doug Berger , Florian Fainelli , Sam Creasey , Geert Uytterhoeven , Finn Thain , Christophe JAILLET , Andrew Lunn , Alexei Starovoitov , Eric Dumazet , Andrii Nakryiko , Bartosz Golaszewski , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [RFC 00/13] [net-next] drivers/net/Space.c cleanup In-Reply-To: <20210515221320.1255291-1-arnd@kernel.org> Message-ID: References: <20210515221320.1255291-1-arnd@kernel.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 16 May 2021, Arnd Bergmann wrote: > For the ISA drivers, there is usually no way to probe multiple devices > at boot time other than the netdev= arguments, so all that logic is left > in place for the moment, but centralized in a single file that only gets > included in the kernel build if one or more of the drivers are built-in. As I recall at least some ISA drivers did probe multiple interfaces in their monolithic configuration; I used a configuration with as many as five ne2k clones for a bridge machine for a fairly large network (~300 machines) and as I recall it required no command-line parameters (but then it was some 25 years ago, so I may well not remember correctly anymore). It may have been with ISA PnP though (damn!). For modular drivers it was deemed too dangerous, for obvious reasons, and explicit parameters were the only way. > * Most of ISA drivers could be trivially converted to use the module_init() > entry point, which would slightly change the command line syntax and > still support a single device of that type, but not more than one. We > could decide that this is fine, as few users remain that have any of > these devices, let alone more than one. > > * Alternatively, the fact that the ISA drivers have never been cleaned > up can be seen as an indication that there isn't really much remaining > interest in them. We could move them to drivers/staging along with the > consolidated contents of drivers/net/Space.c and see if anyone still > uses them and eventually remove the ones that nobody has. I have a 3c509b interface in active use (although in the EISA mode, so no need for weird probing, but it can be reconfigured), and I have an ne2k clone in storage, so I could do some run-time verification if there is no one else available. I'll see if I can do some driver polishing for these devices, but given the number of other tasks on my table this is somewhat low priority for me. Maciej