Subject: Re: ISA Radiotrack cards
To: Julian Coleman <jdc@coris.demon.co.uk>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 11/03/2002 22:20:14
You could also just have rt_find return 1.

    -- Lennart

Julian Coleman wrote:

>Put one of these Radiotrack cards in my alpha.  Hmm, it doesn't attach.
>Looking at the source (sys/dev/isa/radiotrack.c) the rt_find() routine has
>`#if 0' around the code that tries to detect the card.  Took this out and
>saw why - it took roughly 400 seconds per card to determine that I didn't
>have cards at the other addresses (rt0, rt1, rt3).
>
>Changing the step from 10 to 100 speeds things up - 40 seconds to probe
>cards that aren't there and 20 seconds to find the card (with its aerial
>removed).  Would taking out the `#if 0's be OK, along with changing the
>kernel configuration to something like :
>
>#rt0	at isa? port 0x20c	# AIMS Lab Radiotrack & compatible;
>#rt1	at isa? port 0x284	# probe is slow; add only if you have one.
>#rt2	at isa? port 0x30c
>#rt3	at isa? port 0x384
>
>aka ISA joysticks?
>
>J
>
>  
>