Re: Safe ISA port probing?

From: Randy.Dunlap
Date: Wed Dec 24 2003 - 16:15:39 EST


On Wed, 24 Dec 2003 14:33:54 -0600 (CST) Ben Srour <srour@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/