public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: "Eric S. Raymond" <esr@thyrsus.com>,
	"Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	David Woodhouse <dwmw2@infradead.org>, Dave Jones <davej@suse.de>,
	Lionel Bouton <Lionel.Bouton@free.fr>,
	Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: ISA slot detection on PCI systems?
Date: Fri, 4 Jan 2002 21:20:17 +0100	[thread overview]
Message-ID: <20020104212017.B22908@suse.cz> (raw)
In-Reply-To: <20020103133454.A17280@suse.cz> <Pine.GSO.3.96.1020104191141.829B-100000@delta.ds2.pg.gda.pl> <20020104200410.E21887@suse.cz> <20020104140538.A19746@thyrsus.com> <20020104202151.A22445@suse.cz> <20020104144146.A20097@thyrsus.com>
In-Reply-To: <20020104144146.A20097@thyrsus.com>; from esr@thyrsus.com on Fri, Jan 04, 2002 at 02:41:46PM -0500

On Fri, Jan 04, 2002 at 02:41:46PM -0500, Eric S. Raymond wrote:

> Vojtech Pavlik <vojtech@suse.cz>:
> > You'll have to add motherboards that have no ISA slots, but onboard ISA
> > devices to the list.
> >
> > I'd suggest looking at the output of /proc/bus/isapnp as well, because
> > if it lists any devices, you certainly need ISA support. 
> 
> OK, apparently some people are still confused about what I'm trying to do.
> That's no surprise.  It confuses *me* sometimes!

I think I understand you. The problem is that many ISA chips (sound,
others) that are normally used on ISA cards, and thus handled by drivers
most likely labeled by the ISA_CARDS flag, can be, and were often
integrated onto mainboards, even if those didn't have any ISA slots.

Think (possibly older generation, like P-MMX based) notebooks ... there
you can have

X86 ... true
PCI ... true
DMI ... true
DMI_ISA ... false
BLACKLISTED ... possibly true, if you blacklist most notebooks

and yet have many ISA drivers needed for proper operation of the
machine.

> 
> The issue is not ISA support, it is ISA *card* support.  At the moment,
> and for the foreseeable future, X86 implies ISA.  Someday there may be
> X86 motherboards without on-board ISA devices, but that's a few years off.
> When that does happen, my logic will be something like this, where 
> PCI_BRIDGE is the test for whether PC reports an ISA bridge.
> 
> X86 and ((PCI and ISA_BRIDGE) or not PCI) => ISA
> 
> The "not PCI" case represents old ISA-only machines.  
> 
> What I'm actually trying to do is determine whether the machine can 
> take ISA *cards*, and use that computation to suppress questions about
> ISA cards (probed ones would still be found).  For this, the logic
> should look as follows, where:
> 
> * DMI means "reports DMI"
> * DMI_ISA means "DMI reports ISA slots"
> * BLACKLISTED means the motherboard is in an exception list of PCI-supporting,
>        DMI-supporting motherboards that falsely claim not to have ISA slots.
> 
> X86 and ((not PCI) or (not DMI) or DMI_ISA or BLACKLISTED => ISA_CARDS
> 
> This is one reason I want /sys/dmi -- because if I *don't* see it, that
> means I should assume the machine is old enough to take ISA cards.  This
> filter should make the blacklist relatively small -- we wouldn't have to
> track even PCI motherboards older than the DMI standard.
> 
> A key point is that as ISA phases out (near future now), the blacklist 
> will stop growing.  Ballpark guess is it will top out below 150 entries.
> -- 
> 		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
> 
> If I were to select a jack-booted group of fascists who are 
> perhaps as large a danger to American society as I could pick today,
> I would pick BATF [the Bureau of Alcohol, Tobacco, and Firearms].
>         -- U.S. Representative John Dingell, 1980

-- 
Vojtech Pavlik
SuSE Labs

  parent reply	other threads:[~2002-01-04 20:20 UTC|newest]

Thread overview: 187+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02 20:15 ISA slot detection on PCI systems? Eric S. Raymond
2002-01-02 20:45 ` Jeff Garzik
2002-01-02 20:46 ` Brian Gerst
2002-01-02 20:59 ` Alan Cox
2002-01-02 20:46   ` Eric S. Raymond
2002-01-02 21:13     ` Dave Jones
2002-01-02 21:19     ` Alan Cox
2002-01-02 21:04       ` Eric S. Raymond
2002-01-02 22:34         ` Alan Cox
2002-01-03  9:26         ` Vojtech Pavlik
2002-01-03  8:44     ` Eric W. Biederman
2002-01-03 12:46     ` Horst von Brand
2002-01-04 15:04       ` Kai Henningsen
2002-01-02 21:00   ` Dave Jones
2002-01-02 21:23     ` Bill Nottingham
2002-01-02 21:13       ` Eric S. Raymond
2002-01-02 21:31         ` Dave Jones
2002-01-02 21:30           ` Eric S. Raymond
2002-01-02 21:48             ` Dave Jones
2002-01-02 21:47               ` Eric S. Raymond
2002-01-02 22:12                 ` Dave Jones
2002-01-02 22:08                   ` Eric S. Raymond
2002-01-02 22:39                     ` Alan Cox
2002-01-02 22:24                       ` Eric S. Raymond
2002-01-02 22:50                         ` Alan Cox
2002-01-02 22:34                           ` Eric S. Raymond
2002-01-02 23:09                             ` Alan Cox
2002-01-02 23:09                               ` Eric S. Raymond
2002-01-02 23:52                                 ` Alan Cox
2002-01-02 23:56                                 ` Mike Castle
2002-01-03  0:00                                   ` Dave Jones
2002-01-03  0:37                                     ` Mike Castle
2002-01-03  0:58                                       ` Dave Jones
2002-01-03 13:35                                         ` Horst von Brand
2002-01-03 13:46                                           ` Dave Jones
2002-01-03 16:42                                             ` Horst von Brand
2002-01-03 18:06                                               ` Alex
2002-01-03 18:16                                                 ` Horst von Brand
2002-01-03 18:22                                                 ` Patrick Mochel
2002-01-03 22:26                                                   ` Alan Cox
2002-01-03 22:20                                                     ` Patrick Mochel
2002-01-03 22:31                                                       ` Alan Cox
2002-01-03 18:41                                                 ` Gábor Lénárt
2002-01-03 22:24                                                   ` Alan Cox
2002-01-07 21:56                                                 ` Mark H. Wood
2002-01-03 13:10                             ` Horst von Brand
2002-01-02 22:53                         ` Mike Castle
2002-01-02 23:16                           ` Alan Cox
2002-01-02 23:31                             ` Dave Jones
2002-01-02 23:04                         ` Lionel Bouton
2002-01-03  3:49                           ` Cameron Simpson
2002-01-03  4:03                             ` Dave Jones
2002-01-03  6:46                             ` Mike Castle
2002-01-03 12:35                             ` Alan Cox
2002-01-03 12:39                               ` Vojtech Pavlik
2002-01-05  7:03                                 ` H. Peter Anvin
2002-01-05 17:16                                   ` Albert D. Cahalan
2002-01-05 17:34                                     ` Dave Jones
2002-01-05 20:29                                       ` H. Peter Anvin
2002-01-06  1:19                                         ` Dave Jones
2002-01-06 12:19                                           ` Mr. James W. Laferriere
2002-01-06 13:16                                             ` Dave Jones
2002-01-06 15:26                                               ` Mr. James W. Laferriere
2002-01-06 18:20                                                 ` Dave Jones
2002-01-07 13:35                                                   ` Mr. James W. Laferriere
2002-01-06 21:03                                   ` Vojtech Pavlik
2002-01-06 22:16                                     ` Alan Cox
2002-01-07  7:42                                       ` Vojtech Pavlik
2002-01-03 16:00                               ` Cryto verification of Kernel against Trojan code?? Timothy Covell
2002-01-03 21:58                               ` ISA slot detection on PCI systems? Cameron Simpson
2002-01-03 21:15                             ` Lionel Bouton
2002-01-03 21:26                               ` Dave Jones
2002-01-05  6:58                         ` H. Peter Anvin
2002-01-02 22:46                     ` Lionel Bouton
2002-01-02 22:51                       ` Dave Jones
2002-01-02 22:48                         ` Eric S. Raymond
2002-01-02 23:10                           ` Dave Jones
2002-01-03  2:10                             ` Eric S. Raymond
2002-01-03  2:44                               ` Dave Jones
2002-01-03  3:03                                 ` Eric S. Raymond
2002-01-03  3:26                                   ` Dave Jones
2002-01-03  3:18                                     ` Eric S. Raymond
2002-01-03  3:36                                       ` Brian Gerst
2002-01-03  3:35                                         ` Eric S. Raymond
2002-01-03  4:15                                           ` Brian Gerst
2002-01-03  4:15                                             ` Eric S. Raymond
2002-01-03  4:27                                               ` Brian Gerst
2002-01-03  4:30                                                 ` Eric S. Raymond
2002-01-03  3:39                                       ` Dave Jones
2002-01-03  3:34                                   ` Brian Gerst
2002-01-03 14:37                                     ` Horst von Brand
2002-01-04  7:09                                     ` [OT] " Paul Duncan
2002-01-03 11:25                                   ` Henrik Hovi
2002-01-05  7:09                                     ` H. Peter Anvin
2002-01-03 14:31                                   ` Horst von Brand
2002-01-03 15:00                                     ` Jesse Pollard
2002-01-03 15:15                                     ` Richard B. Johnson
2002-01-04 15:30                                       ` Kai Henningsen
2002-01-03  5:30                                 ` Andrew Morton
2002-01-03  5:42                                   ` Jeff Garzik
2002-01-03  5:55                                     ` Daniel Phillips
2002-01-03  5:46                                   ` Eric S. Raymond
2002-01-03  9:14                                 ` David Woodhouse
2002-01-03  9:09                                   ` Eric S. Raymond
2002-01-03 12:14                                     ` Alan Cox
2002-01-03 12:34                                       ` Vojtech Pavlik
2002-01-04 18:28                                         ` Maciej W. Rozycki
2002-01-04 19:04                                           ` Vojtech Pavlik
2002-01-04 19:05                                             ` Eric S. Raymond
2002-01-04 19:21                                               ` Vojtech Pavlik
2002-01-04 19:41                                                 ` Eric S. Raymond
2002-01-04 20:09                                                   ` Dave Jones
2002-01-08 12:52                                                     ` Rob Landley
2002-01-04 20:19                                                   ` David Weinehall
2002-01-04 20:30                                                     ` Maciej W. Rozycki
2002-01-04 20:36                                                       ` Eric S. Raymond
2002-01-05  7:12                                                         ` H. Peter Anvin
2002-01-04 20:20                                                   ` Vojtech Pavlik [this message]
2002-01-04 20:44                                                     ` Eric S. Raymond
2002-01-04 19:45                                               ` Dave Jones
2002-01-04 19:50                                               ` Maciej W. Rozycki
2002-01-04 19:54                                                 ` Dave Jones
2002-01-04 20:24                                                   ` Maciej W. Rozycki
2002-01-04 20:31                                                     ` Dave Jones
2002-01-04 20:33                                                       ` Eric S. Raymond
2002-01-04 20:56                                                         ` Vojtech Pavlik
2002-01-04 20:57                                                         ` Dave Jones
2002-01-04 20:49                                                           ` Eric S. Raymond
2002-01-04 21:08                                                             ` Dave Jones
2002-01-04 20:59                                                               ` Eric S. Raymond
2002-01-04 21:18                                                                 ` Dave Jones
2002-01-04 21:23                                                                 ` Patrick Mochel
2002-01-05  0:13                                                                 ` Alan Cox
2002-01-04 21:17                                                               ` David Woodhouse
2002-01-04 21:04                                                         ` Charles Cazabon
2002-01-05 17:28                                                         ` Horst von Brand
2002-01-04 19:36                                             ` Maciej W. Rozycki
2002-01-04 19:45                                               ` Vojtech Pavlik
2002-01-04 20:08                                                 ` Maciej W. Rozycki
2002-01-03 16:52                                     ` Rik van Riel
2002-01-03 17:01                                       ` Dave Jones
2002-01-03 17:27                                         ` Eric S. Raymond
2002-01-03  9:24                                   ` David Woodhouse
2002-01-03 14:12                               ` Horst von Brand
2002-01-03  3:07                             ` Greg Hennessy
2002-01-03  9:08                             ` David Woodhouse
2002-01-03  9:03                               ` Eric S. Raymond
2002-01-03 12:20                                 ` Alan Cox
2002-01-03 12:07                                   ` BALBIR SINGH
2002-01-03 12:40                                     ` Alan Cox
2002-01-03 21:44                                       ` Lionel Bouton
2002-01-03 22:17                                         ` David Weinehall
2002-01-04 18:41                                           ` Maciej W. Rozycki
2002-01-03 22:36                                         ` Alan Cox
2002-01-04 12:10                                         ` Alex
2002-01-04 12:20                                           ` Dave Jones
2002-01-04 12:22                                             ` Alex
2002-01-04 12:30                                               ` Dave Jones
2002-01-04 12:47                                                 ` Alex
2002-01-03 12:56                                   ` Urban Widmark
2002-01-03  9:19                               ` David Woodhouse
2002-01-03  9:12                                 ` Eric S. Raymond
2002-01-03  9:31                                 ` David Woodhouse
2002-01-03 10:34                             ` Kai Henningsen
2002-01-03 14:42                               ` Dave Jones
2002-01-04 15:39                                 ` Kai Henningsen
2002-01-02 23:15                           ` Alan Cox
2002-01-02 23:07                             ` Eric S. Raymond
2002-01-02 23:33                               ` Lionel Bouton
2002-01-02 23:37                                 ` Dave Jones
2002-01-03  2:19                                   ` Eric S. Raymond
2002-01-03  2:17                                 ` Eric S. Raymond
2002-01-02 23:19                           ` Mike Castle
2002-01-02 23:23                           ` Lionel Bouton
2002-01-02 23:44                             ` Mike Castle
2002-01-03  0:11                               ` Lionel Bouton
2002-01-03  2:20                             ` Eric S. Raymond
2002-01-05  7:05                           ` H. Peter Anvin
2002-01-05  6:56                     ` H. Peter Anvin
2002-01-03 13:00                 ` Horst von Brand
2002-01-02 21:59               ` Mike Castle
2002-01-02 22:08             ` Alan Cox
2002-01-02 21:22       ` Dave Jones
2002-01-02 21:28 ` Christian Koenig
2002-01-02 22:04   ` Timothy Covell
  -- strict thread matches above, loose matches on Subject: below --
2002-01-04  9:56 Giacomo A. Catenazzi
2002-01-04 10:29 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020104212017.B22908@suse.cz \
    --to=vojtech@suse.cz \
    --cc=Lionel.Bouton@free.fr \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davej@suse.de \
    --cc=dwmw2@infradead.org \
    --cc=esr@thyrsus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@ds2.pg.gda.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox