Subject: Re: NetBSD/pmax future projects
To: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 03/02/1999 18:39:16
In message <199903030212.LAA21508@axp46.aist-nara.ac.jp>,
Toru Nishimura writes

>People, here is my private thought of "what should be done on future
>release of NetBSD/pmax"
>
>- DC7061 SII SCSI driver for 3100
>	There would be two approachs.  1) Build glue logics encapsulating
>	the current implementation of NetBSD/pmax SII driver to attach
>	it with MI SCSI layer.  NetBSD/newsmips once approached in this
>	way. 2) Build completely new SCSI driver from scratch specifically
>	designed for MI SCSI framework.  Good news is the hardware
>	documentation is available for public.  (Does any VAXstation use
>	this chip?)


The existing sii code is not pretty by NetbSD standards, but
historically this driver has been a real nightmare to get right from
the public docs.  So I'd go for encapsulation. Thats not too hard: i
once reworked the pmax asc driver to work with MI scsi.
The SII chip is used as a DSSI controller on both mips boxes and on
some mayfair-class vaxes.  It's also used as a SCSI chip in the Firefox.



>- DC7085 quad line serial driver
>	The resulting will also make NetBSD/vax people happy.

Uh, you mean one that talks to wscons-like keyboard and tty handdlers?
I hope so.


>- Desktop Bus driver for Personal DECstation
>	It can be regarded as flexible two way communication channel
>	sending	and receiving packets between host processor, LK501
>	keyboard and VSXXX-GB mouse.  This implies 'dtop' driver have
>	to be smarter than conventoinal serial connection folklore.
>	(But, unfortunately, intermediate driver must emulate LK201
>	key sequece anyway)  ADB driver could be modelled.  Exploiting
>	IOASIC DMA would be better.

Nope, we dont want to emulate serial devices. There should be an API
for passing pointer and keyboard events up to wscons which does *not*
require byte-at-a-time parsing, but takes input-pointer updates, and
button events, and keycodes in whatever format wscons expects.

If no such API exists, we should create one.
(insert annual prayer for Bstreams once again).


>Contribution is always welcome. :-)

I made some progress with the ioasic DMA and spls this weekend...