opensubscriber
   Find in this group all groups
 
Unknown more information…

l : linux-m68k@vger.kernel.org 8 April 2008 • 4:33AM -0400

Re: Atari ROM port ISA detection
by Michael Schmitz

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi Geert,

> Is it possible to detect the presence of Atari ROM port adapters?

That depends - what happens if you read from the ROM port with nothing
attached? I'll have to try. From memory, when I accidentially disconnected
the ROM port adapter, the EtherNEC module just got stuck and required a
reload. No kernel panic or other errors (tx timeouts aside). So I guess a
simple read test is not going to cut it. I'm not sure whether we can use
ARAnyM to check this - should accessing an empty ROM port generate a
kernel bus error, and will ARAnyM do this? Petr?

Something akin to the ISA ethercard probe should work, though. Is there
some way to explicitly test for presence of _any_ ISA card in a given
slot, or at a given IO address?

> Currently a kernel with support for multiple ISA types cannot use Atari
> ROM port ISA, as arch/m68k/kernel/setup.c has no support to set isa_type
> dynamically if MULTI_ISA is defined.

The conflict is with Q40, right? Do these boxes also have a ROM port?
Otherwise we could fix that by using something from the bootinfo, or make
it depend on the precise kind of Atari model detected in atari/config.c
...

Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.