NetBSD/sys/dev/isa
andvar e1541cea4e s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments. 2022-12-24 15:23:02 +00:00
..
Makefile Remove the satlink driver. It was disabled everywhere, had no man page and 2019-01-27 08:53:28 +00:00
README.seagate fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
ad1848_isa.c Clean get_props(). 2019-06-08 08:02:36 +00:00
ad1848var.h Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
addcom_isa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
adv_isa.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
aha_isa.c
aic_isa.c
aps.c unregister sensors only when registered. 2022-06-29 15:56:58 +00:00
aria.c Clean get_props(). 2019-06-08 08:02:36 +00:00
ariareg.h
ast.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
atppc_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
atppc_isadma.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
atppc_isadma.h
attimer_isa.c
aztech.c
bha_isa.c KNF. No functional change. 2016-07-14 04:19:26 +00:00
boca.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
cec.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
cms.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
cmsreg.h
com_isa.c Clean up initialization of com_regs structure, in preparation for 2018-12-08 17:46:09 +00:00
com_multi.c Clean up initialization of com_regs structure, in preparation for 2018-12-08 17:46:09 +00:00
com_multi.h
commultiprint.c
cs89x0isa.c fix various typos in comments and log messages. 2021-08-02 12:56:22 +00:00
cs89x0isavar.h
cs4231var.h
cy_isa.c
depca_isa.c
dpt_isa.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
ega.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
egavar.h
elink.c malloc(9) -> kmem(9) 2022-09-25 17:11:48 +00:00
elink.h
esp_isa.c
esp_isavar.h
ess.c s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments. 2022-12-24 15:23:02 +00:00
ess_isa.c
essreg.h
essvar.h
fd.c malloc(9) -> kmem(9) 2022-09-25 17:11:48 +00:00
fdc_isa.c Do not attach if the parent bus failed to provide an ISA chipset tag. 2022-04-18 10:09:07 +00:00
fdcvar.h
fdreg.h
fdvar.h
files.isa - The "ess" device does not need a "midibus" interface attribute; it 2021-04-26 19:10:38 +00:00
finsio_isa.c unregister sensors only when registered. 2022-06-29 15:56:58 +00:00
gus.c Calling halt_{input,output} is done by the MI audio layer if necessary. 2021-02-06 07:16:18 +00:00
gusreg.h fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
i82365_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
i82365_isasubr.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
i82365_isavar.h
ics2101.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
ics2101var.h
if_ai.c Remove unneeded bus_space_barrier() calls. 2022-07-12 02:03:57 +00:00
if_aireg.h
if_ate.c - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
if_cs_isa.c
if_ec.c KNF. No functional change. 2019-05-29 06:21:56 +00:00
if_ecreg.h s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
if_ef.c Remove unneeded bus_space_barrier() calls. 2022-07-12 02:03:57 +00:00
if_efreg.h
if_eg.c egstart(): Use m_copydata() rather than open-coding it. 2022-09-17 17:00:02 +00:00
if_egreg.h
if_el.c Eliminate use of IFF_OACTIVE. 2022-09-17 17:15:02 +00:00
if_elreg.h s/auxillary/auxiliary/ in comments. 2022-05-20 19:34:22 +00:00
if_ep_isa.c s/like like/like/ in comment. 2019-12-27 04:50:41 +00:00
if_fmv_isa.c
if_ix.c Remove unneeded bus_space_barrier() calls. 2022-07-12 02:03:57 +00:00
if_ixreg.h
if_iy.c Eliminate use of IFF_OACTIVE. 2022-09-17 17:15:02 +00:00
if_lc_isa.c KNF. No functional change. 2016-07-11 11:31:49 +00:00
if_le_isa.c Audit unload/unmap v.s. free against DMA buffer for sys/dev; 2022-05-29 10:43:45 +00:00
if_levar.h
if_ne_isa.c
if_ntwoc_isa.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
if_ntwoc_isareg.h
if_sm_isa.c Typos. 2018-02-08 09:05:16 +00:00
if_tscs_isa.c
if_we_isa.c
ioat66.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
isa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
isa_stub.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
isabusprint.c
isadma.c fix off-by-one in the mapping of the ISA DMA page registers, they actually 2018-05-29 06:14:33 +00:00
isadmareg.h fix off-by-one in the mapping of the ISA DMA page registers, they actually 2018-05-29 06:14:33 +00:00
isadmavar.h
isareg.h s/reister/register/ in comment. 2019-12-27 09:50:27 +00:00
isavar.h
isv.c
isvio.h
itesio_isa.c unregister sensors only when registered. 2022-06-29 15:56:58 +00:00
itesio_isavar.h itesio(4): Added IT8625E support. 2021-07-03 04:44:16 +00:00
joy_ess.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
joy_isa.c
lm_isa.c
lm_isa_common.c avoid stack usage in match routine 2020-06-24 19:11:49 +00:00
lm_isa_common_var.h
lm_wbsio.c
lpt_isa.c s/manaul/manual/ in comment. 2019-12-27 09:28:41 +00:00
madreg.h fix various typos in comments and messages. 2022-11-02 20:38:21 +00:00
mcd.c sys/dev: Memset zero before copyout. 2021-09-09 23:26:36 +00:00
mcdreg.h
midi_pcppi.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
moxa_isa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
mpu_isa.c - Use aprint*() more in xxx_attach(). 2016-07-14 10:19:05 +00:00
mpu_sb.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
mpu_ym.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
nca_isa.c
nct.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
nsclpcsio_isa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
opl_ess.c Remove unnecessary include of <sys/malloc.h>. 2022-09-24 23:21:59 +00:00
opl_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-24 23:21:59 +00:00
opl_sb.c Remove unnecessary include of <sys/malloc.h>. 2022-09-24 23:21:59 +00:00
opl_wss.c Remove unnecessary include of <sys/malloc.h>. 2022-09-24 23:21:59 +00:00
opl_ym.c Remove unnecessary include of <sys/malloc.h>. 2022-09-24 23:21:59 +00:00
pas.c s/suport/support/ 2019-12-27 09:22:19 +00:00
pasreg.h
pcdisplay.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
pcdisplayvar.h
pckbc_isa.c malloc(9) -> kmem(9) 2022-09-25 17:11:48 +00:00
pcppi.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
pcppireg.h
pcppivar.h Instead of directly referencing a parent device's code (ie, pcppi_bell() 2017-06-14 05:01:35 +00:00
ptcd.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
radiotrack.c
radiotrack2.c
rtfps.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
sb.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
sb_isa.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
sbdsp.c Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
sbdspvar.h Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
sbreg.h fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
sbvar.h
seagate.c malloc(9) -> kmem(9) 2022-09-25 17:11:48 +00:00
sf16fmr2.c
slhci_isa.c - Use aprint*() instead of printf() in xxx_attach(). 2016-07-14 04:00:45 +00:00
smsc.c unregister sensors only when registered. 2022-06-29 15:56:58 +00:00
smscvar.h
soekrisgpio.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
spkr_pcppi.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
spkrio.h put back spkrio.h for compat 2016-12-09 06:04:06 +00:00
tcic2_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
tcom.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
tpm_isa.c Add missing printing-of-newlines in the attach routine. 2021-01-16 00:43:03 +00:00
tsdio.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
tsdioreg.h
tsdiovar.h
ug_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
uha_isa.c Initialize sc_dev correctly to avoid null pointer dereference when 2019-11-12 13:10:51 +00:00
vga_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
vga_isavar.h
wbsio.c lm(4): Add Nuvoton NCT6797D support. 2022-12-16 00:02:28 +00:00
wbsioreg.h lm(4): Add Nuvoton NCT6797D support. 2022-12-16 00:02:28 +00:00
wdc_isa.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
wds.c Remove unnecessary include of <sys/malloc.h>. 2022-09-25 17:09:36 +00:00
wdsreg.h
weasel_isa.c
weaselreg.h s/serivce/service/ in comments. 2022-04-11 20:57:37 +00:00
weaselvar.h
wss.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
wss_isa.c sys: Fix various abuse of struct device internals. 2022-02-12 03:24:34 +00:00
wssreg.h
wssvar.h
wt.c malloc(9) -> kmem(9) 2022-09-25 17:11:48 +00:00
wtreg.h
ym.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ymvar.h

README.seagate

#	$NetBSD: README.seagate,v 1.8 2022/04/08 10:17:54 andvar Exp $

The hardware:

The ST01/02, and Future Domain 950 are very simple SCSI controllers. They are
not busmastering, so the processor must do all transfers a la IDE. They support
blind transfer by adding wait states (up to a certain limit). Interrupt is
generated for reconnect and parity errors (maybe also for some other events).

The card consists of one command port that writes to scsi control lines, reads
status lines, and a data port that read/writes to the 8 data lines. The address
decoding gives both data and control ports large memory areas to a single
port. This is used by the code.

The ST01/02 differs from the FD950 in memory address location and SCSI id.

Probing for the card:

A card is recognized by comparing the BIOS signature with known signatures. A
new card may not be recognized if the BIOS signature has changed. Please send
new signatures to me.

Driver function:

A scsi command is sent to scsi_cmd function. The command is either placed in
the queue or an retryable message is returned. The routine may wait for
completion of the command depending on the supplied flags. A timer is started
for every command placed in the queue. The commands are added in the order they
are received. There is a possibility to make all REQUEST SENSE commands be
queued before all other commands, but I dont think it is a good thing (Linux
do however use this).

The card is mostly controlled by the sea_main function. It is called by
scsi_cmd, the interrupt routine, and the timeout routine. The sea_main routine
runs as long there are something to do (transfer data, issue queued commands,
and handle reconnected commands).

The data transfers may be done in two different ways: Blind and polled
transfers. They differ in the way the driver does it handshaking with the
target. During a blind transfer, the driver code blindly transfers a block
of data without checking for changed phase. During polled transfers, the
phase is checked between every character transferred. The polled transfers
are always used for status information and command transfers.

Because the card does not use DMA in any way, there is no need to handle
physical addresses. There is no problem with the isa-bus address limit of
16MB, making bounce-buffers unnecessary.

The data structures:

Every card has a sea_softc structure keeping the queues of commands waiting to
be issued, and commands currently disconnected. The type of card (Seagate or
Future Domain), data and control port addresses, scsi id, busy flags for all
possible targets, and interrupt vector for the card.

Every scsi command to be issued are stored in a sea_scb structure. It contains
a flag describing status/error of the command, current data buffer position,
and number of bytes remaining to be transferred.


PROBLEMS

I have had problems getting the ST02 boot using the boot floppies. I think it
is some problem with BIOS calls not working. It is unfortunately impossible to
disconnect the ST02 floppy controller.

I have had problem to get the driver talk to a 40 MB Seagate disk. I dont have
access to it any more, so I can't do any more checks on that.

NOTE: The ST02 creates its own description of the disk attached. This is not
the same as the disk says. This translation problem may cause problems when
sharing a disk between both DOS and BSD. It is however not impossible.