public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: esr@thyrsus.com
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: ISA slot detection on PCI systems?
Date: 03 Jan 2002 01:44:21 -0700	[thread overview]
Message-ID: <m1y9jfu8m2.fsf@frodo.biederman.org> (raw)
In-Reply-To: <20020102151539.A14925@thyrsus.com> <E16LsU0-0005RB-00@the-village.bc.nu> <20020102154633.A15671@thyrsus.com>
In-Reply-To: <20020102154633.A15671@thyrsus.com>

"Eric S. Raymond" <esr@thyrsus.com> writes:

> Alan Cox <alan@lxorguk.ukuu.org.uk>:
> > You can make an educated guess. However it is at best an educated guess.
> > The DMI tables will tell you what PCI and ISA slots are present (but
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > tend to be unreliable on older boxes).  You can also look for an ISA bridge
> > in lspci as a second source of information.
> 
> That sounds like it might be what I'm after.  My goal is to be able to probe 
> the machine and set ISA_CARDS based on the probe.  What's a DMI table and
> how can I query it for the presence of ISA slots?
> 
> What I want to do with this is make ISA-card questions invisible on modern
> PCI-only motherboards.


Auto configuration only works for some variety of Plug-and-Play hardware.
By that I mean that between a combination of the firmware and the hardware
you can detect what is there.  Plug-and-Play does not work reliably on
ISA.  Since PCI has been Plug-and-Play from the start it works well.

I would suggest you assume that for any hardware that isn't present
you assume it isn't there.

For those things where auto detection is not reliable have a menu that
let's you manually select the which pieces you actually want to worry
about sounds reasonable.

Say:
   Unprobeable hardware support
     ISA cards
     i2c devices
     lpc devices
     etc
     etc.

With the kernel moving to support more and more hardware and things
like lm-sensors showing up.  Even the absence of slots does not mean
that there aren't pieces that software can not get adequate
information to setup correctly.

As for DMI and it's ilk.  The only sane thing I can see to do is have
something that will report the motherboard id. (DMI does seem to do
that fairly reiliably, as do MP tables).  And then you build a
database based on motherboard id upon the capabilities of the various
motherboards. 

Looking up the datasheets from the various manufacturers should not be
to hard of a job..  Plus it is a technique that can work on things
other than stock PC's.

Eric
 

  parent reply	other threads:[~2002-01-03  8:47 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 [this message]
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
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=m1y9jfu8m2.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=esr@thyrsus.com \
    --cc=linux-kernel@vger.kernel.org \
    /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