Subject: si options redefined
To: None <port-sun3@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 02/26/1997 17:51:44
I've redefined the way the "si" driver interprets the config flags
(which also affects the variables: si_obio_options, si_vme_options).
The new way allows per-target control over disconnect/reselect and
parity checking.  The new interpretation is as follows:

[ from sun3/dev/sivar.h ]

/* Options for disconnect/reselect, DMA, and interrupts. */
#define SI_NO_DISCONNECT    0xff
#define SI_NO_PARITY_CHK  0xff00
#define SI_FORCE_POLLING 0x10000
#define SI_DISABLE_DMA   0x20000

For a given target:
Setting (1 << target) disables disconnect/reselect
Setting (1 << (target + 8)) disables parity checking

For all targes:
Setting SI_FORCE_POLLING disables DMA interrupts.
Setting SI_DISABLE_DMA forces the use of programmed-I/O (PIO).

I'll update the config files soon to make note of this.

Gordon