Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Address of second TMSCP controller



On Tue, 26 Jan 2021 at 15:20, Anders Magnusson <ragge%tethuvudet.se@localhost> wrote:
>
> Den 2021-01-26 kl. 16:05, skrev Paul Koning:
> >
> >> I imagine you could add a second mtc line to your config at whatever
> >> address you put your Dilog card at.  ISTR that DEC had a bunch of rules
> >> for such addresses - the phrase "floating CSR space" comes to mind -
> > Right.  In the DEC rules, this is a "first unit fixed, rest float"
> > device, just like the MSCP disk controllers.  The float CSR rank is 30.
> > Does NetBSD do the floating CSR address algorithm?  If not, yes, just
> > pick some address and tell the OS what it is.
> >
> No, NetBSD do obey the floating CSR spec.
> This code is actually from 4BSD which didn't either.

Is it just a matter of adding mtc* lines to the config for the 2nd and
subsequent floating address - or is there some risk of false positives
if a different device is at that address?

GENERIC already has a couple of devices with alternate CSRs (I don't
know if they are alternates on a given machine, or if some machines
put their initial device at different CSR addresses)

uda*            at uba? csr 0172150     # UDA50/RQDX?
uda*            at uba? csr 0160334

and

qe*             at uba? csr 0174440     # DEQNA/DELQA
qe*             at uba? csr 0174460     # DEQNA/DELQA

to save people the effort of clicking a link
https://nxr.netbsd.org/xref/src/sys/arch/vax/conf/GENERIC#229 :) - the
remaining current values from GENERIC are:

#il*            at uba? csr 0164000     # NI1010
mtc*            at uba? csr 0174500     # Tape MSCP ctlr
ts0             at uba? csr 0172520     # TS11/TSV05 tape.
#qd0            at uba? csr 0177400     # 4- or 8-bitplans color graphics
#qv0            at uba? csr 0177400     # Monochrome graphics
de*             at uba? csr 0174510     # DELUA/DEUNA
qt*             at uba? csr 0174440     # DELQA-PLUS in Turbo mode
dhu*            at uba? csr 0160440     # DHU-11
#dmf*           at uba? csr 0160340     # DMF-32
dz*             at uba? csr 0160100     # DZ-11
dl*             at uba? csr 0176500     # DL-11
rlc*            at uba? csr 0174400     # RL11/RLV11 controller
rl*             at rlc? drive?          # RL01/RL02 disk drive
rfc0            at uba? csr 0177170     # RX01/02 controller
rf*             at rfc? drive?          # RX01/RX02 floppy disk drive

David


Home | Main Index | Thread Index | Old Index