lkml.org 
[lkml]   [2003]   [Dec]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 24 Dec 2003 13:12:23 -0800
From"Randy.Dunlap" <>
SubjectRe: Safe ISA port probing?
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:59    [W:0.191 / U:0.790 seconds]
©2003-2008 Jasper Spaans