mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Ben Srour <srour@cs.wisc.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Safe ISA port probing?
Date: Wed, 24 Dec 2003 13:12:23 -0800	[thread overview]
Message-ID: <20031224131223.2c3f497c.rddunlap@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0312241431280.2726-100000@data.upl.cs.wisc.edu>

On Wed, 24 Dec 2003 14:33:54 -0600 (CST) Ben Srour <srour@cs.wisc.edu> wrote:

| Hello,
| 
| What is the safest way to go about probing for non-pnp ISA devices on a
| system?

To be very safe, use a parameter and don't do probing, except to
verify that the device is where you have been told it is.

| Is the only solution to start at a base address and increment until you
| find something interesting? Won't this put devices along the way in an
| unsafe state?

It could.

| Any advice/suggestions would be appreciated,

There's not a method that's always safe AFAIK.

It's better to use reads instead of writes if possible.
It's better to begin at the least-used addresses of other
known devices as much as possible (but you know that).

--
~Randy
MOTD:  Always include version info.

  reply	other threads:[~2003-12-24 21:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24 11:10 [PATCH 2.6] fix pci_update_resource() / IORESOURCE_UNSET on PPC Harald Welte
2003-12-24 20:04 ` Greg KH
2003-12-24 20:33   ` Safe ISA port probing? Ben Srour
2003-12-24 21:12     ` Randy.Dunlap [this message]
2003-12-26  8:46   ` [PATCH 2.6] fix pci_update_resource() / IORESOURCE_UNSET on PPC Harald Welte

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=20031224131223.2c3f497c.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srour@cs.wisc.edu \
    /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

all inboxes | Powered by JetHome®