NameDateSize

..Today4 KiB

ad1848_isa.cH A D08-Jun-201920.3 KiB

ad1848var.hH A D08-May-20195.1 KiB

addcom_isa.cH A D07-Aug-20217 KiB

adv_isa.cH A D07-Jul-20166.8 KiB

aha_isa.cH A D18-Oct-20144.4 KiB

aic_isa.cH A D23-Nov-20095.2 KiB

aps.cH A D17-Feb-202514.4 KiB

aria.cH A D08-Jun-201937.5 KiB

ariareg.hH A D27-Oct-20094.5 KiB

ast.cH A D07-Aug-20215.7 KiB

atppc_isa.cH A D25-Sep-20227.1 KiB

atppc_isadma.cH A D25-Sep-20223.7 KiB

atppc_isadma.hH A D04-Mar-20071.9 KiB

attimer_isa.cH A D23-Aug-20094.4 KiB

aztech.cH A D27-Oct-20128.3 KiB

bha_isa.cH A D14-Jul-20164.8 KiB

boca.cH A D07-Aug-20216.2 KiB

cec.cH A D07-Aug-202117.6 KiB

cms.cH A D08-May-20198.2 KiB

cmsreg.hH A D28-Apr-20085 KiB

com_isa.cH A D08-Dec-20189.6 KiB

com_multi.cH A D08-Dec-20184.8 KiB

com_multi.hH A D11-Dec-20051.9 KiB

commultiprint.cH A D11-Dec-2007499

cs4231var.hH A D28-Apr-20082.3 KiB

cs89x0isa.cH A D02-Aug-202111 KiB

cs89x0isavar.hH A D04-Mar-20071.8 KiB

cy_isa.cH A D20-Nov-20232.4 KiB

depca_isa.cH A D27-Oct-20127.2 KiB

dpt_isa.cH A D14-Jul-20168.7 KiB

ega.cH A D14-Jul-202522 KiB

egavar.hH A D11-Dec-20051.4 KiB

elink.cH A D25-Sep-20223.7 KiB

elink.hH A D28-Apr-20081.8 KiB

esp_isa.cH A D18-Oct-201416.4 KiB

esp_isavar.hH A D13-Apr-20084.6 KiB

ess.cH A D09-Feb-202464.1 KiB

ess_isa.cH A D22-May-20104.3 KiB

essreg.hH A D09-Feb-202412.7 KiB

essvar.hH A D16-Aug-20145 KiB

fd.cH A D06-Dec-202542.3 KiB

fdc_isa.cH A D18-Apr-20227 KiB

fdcvar.hH A D28-Apr-20085.3 KiB

fdreg.hH A D30-Jun-20115.9 KiB

fdvar.hH A D13-Apr-20153.4 KiB

files.isaH A D26-Apr-202112.2 KiB

finsio_isa.cH A D29-Jun-202218 KiB

gus.cH A D06-Feb-2021108.8 KiB

gusreg.hH A D09-Feb-20249 KiB

i82365_isa.cH A D25-Sep-20225.9 KiB

i82365_isasubr.cH A D08-Sep-202414.2 KiB

i82365_isavar.hH A D17-Sep-20092.6 KiB

ics2101.cH A D08-May-20194.3 KiB

ics2101var.hH A D28-Apr-20082.2 KiB

if_ai.cH A D12-Jul-202211.9 KiB

if_aireg.hH A D28-Apr-20082.4 KiB

if_ate.cH A D03-Feb-201910.3 KiB

if_cs_isa.cH A D13-Apr-20157 KiB

if_ec.cH A D08-Feb-202419.9 KiB

if_ecreg.hH A D27-Dec-20194.3 KiB

if_ef.cH A D12-Jul-202216.4 KiB

if_efreg.hH A D28-Apr-20084.7 KiB

if_eg.cH A D17-Sep-202220.6 KiB

if_egreg.hH A D11-Dec-20053.7 KiB

if_el.cH A D17-Sep-202216 KiB

if_elreg.hH A D20-May-20223.1 KiB

if_ep_isa.cH A D27-Dec-201911.2 KiB

if_fmv_isa.cH A D12-Apr-20087.7 KiB

if_ix.cH A D10-Feb-202422.7 KiB

if_ixreg.hH A D23-Nov-20254.1 KiB

if_iy.cH A D17-Sep-202235.6 KiB

if_lc_isa.cH A D11-Jul-20165.2 KiB

if_le_isa.cH A D29-May-202211.1 KiB

if_levar.hH A D28-Apr-20082.2 KiB

if_ne_isa.cH A D03-Mar-20105.4 KiB

if_ntwoc_isa.cH A D14-Jul-201621.9 KiB

if_ntwoc_isareg.hH A D04-Jan-20005 KiB

if_sm_isa.cH A D08-Feb-20185.1 KiB

if_tscs_isa.cH A D13-Apr-20155.2 KiB

if_we_isa.cH A D18-Oct-201412.5 KiB

ioat66.cH A D07-Aug-20215.8 KiB

isa.cH A D17-Oct-20259.6 KiB

isa_stub.cH A D25-Sep-20222.4 KiB

isabusprint.cH A D16-Nov-2006321

isadma.cH A D27-Jun-202519.3 KiB

isadmareg.hH A D29-May-20183.1 KiB

isadmavar.hH A D29-Apr-20125.3 KiB

isareg.hH A D27-Dec-20195.7 KiB

isavar.hH A D20-Oct-20257.6 KiB

isv.cH A D25-Jul-201410.8 KiB

isvio.hH A D02-Apr-2008375

itesio_isa.cH A D29-Jun-202223.6 KiB

itesio_isavar.hH A D03-Jul-20216.6 KiB

joy_ess.cH A D08-May-20191.1 KiB

joy_isa.cH A D05-Dec-20113.5 KiB

lm_isa.cH A D17-Jan-20122.5 KiB

lm_isa_common.cH A D24-Jun-20204.5 KiB

lm_isa_common_var.hH A D17-Jan-20121.9 KiB

lm_wbsio.cH A D18-Jan-20122.6 KiB

lpt_isa.cH A D27-Dec-20197.9 KiB

madreg.hH A D02-Nov-20223.5 KiB

MakefileH A D27-Jan-2019196

mcd.cH A D09-Sep-202143.1 KiB

mcdreg.hH A D08-Jun-20007.1 KiB

midi_pcppi.cH A D08-May-20194.6 KiB

moxa_isa.cH A D07-Aug-20215.5 KiB

mpu_isa.cH A D14-Jul-20163.7 KiB

mpu_sb.cH A D08-May-20192.9 KiB

mpu_ym.cH A D08-May-20193.4 KiB

nca_isa.cH A D27-Oct-201212.3 KiB

nct.cH A D07-Aug-202117.5 KiB

nsclpcsio_isa.cH A D07-Aug-202118.1 KiB

opl_ess.cH A D24-Sep-20222.9 KiB

opl_isa.cH A D24-Sep-20223.4 KiB

opl_sb.cH A D24-Sep-20222.9 KiB

opl_wss.cH A D24-Sep-20222.8 KiB

opl_ym.cH A D24-Sep-20223.3 KiB

pas.cH A D27-Dec-201913.7 KiB

pasreg.hH A D08-Mar-200615.4 KiB

pcdisplay.cH A D07-Aug-202111 KiB

pcdisplayvar.hH A D11-Dec-20051.4 KiB

pckbc_isa.cH A D25-Sep-20226 KiB

pcppi.cH A D09-Feb-20248.8 KiB

pcppireg.hH A D15-Apr-1998261

pcppivar.hH A D14-Jun-20171.8 KiB

ptcd.cH A D07-Aug-20214.6 KiB

radiotrack.cH A D23-Mar-20149.8 KiB

radiotrack2.cH A D27-Oct-20128.6 KiB

README.seagateH A D08-Apr-20223.3 KiB

rtfps.cH A D07-Aug-20215.8 KiB

sb.cH A D07-Aug-20218.4 KiB

sb_isa.cH A D08-May-20194.9 KiB

sbdsp.cH A D24-Jul-202162.2 KiB

sbdspvar.hH A D08-May-20198.7 KiB

sbreg.hH A D09-Feb-202411.5 KiB

sbvar.hH A D28-Apr-20081.6 KiB

seagate.cH A D25-Sep-202236.9 KiB

sf16fmr2.cH A D27-Oct-20129.1 KiB

slhci_isa.cH A D14-Jul-20164.3 KiB

smsc.cH A D29-Jun-20229.8 KiB

smscvar.hH A D27-Oct-20123 KiB

soekrisgpio.cH A D07-Aug-20216.8 KiB

spkr_pcppi.cH A D25-Sep-20224.5 KiB

spkrio.hH A D09-Dec-201689

tcic2_isa.cH A D25-Sep-202210.7 KiB

tcom.cH A D07-Aug-20217.7 KiB

tpm_isa.cH A D16-Jan-20214.5 KiB

tsdio.cH A D07-Aug-20213.8 KiB

tsdioreg.hH A D23-Oct-20091.6 KiB

tsdiovar.hH A D27-Oct-20121.6 KiB

ug_isa.cH A D25-Sep-20224.6 KiB

uha_isa.cH A D12-Nov-20199.7 KiB

vga_isa.cH A D25-Sep-20223.2 KiB

vga_isavar.hH A D11-Dec-20051.1 KiB

wbsio.cH A D30-Oct-202525.7 KiB

wbsioreg.hH A D30-Oct-20257.4 KiB

wdc_isa.cH A D25-Sep-20228.2 KiB

wds.cH A D25-Sep-202232.3 KiB

wdsreg.hH A D11-Dec-20053.4 KiB

weasel_isa.cH A D20-Aug-20159.1 KiB

weaselreg.hH A D11-Apr-20225 KiB

weaselvar.hH A D12-May-20092.2 KiB

wss.cH A D07-Aug-202113.3 KiB

wss_isa.cH A D12-Feb-202211.3 KiB

wssreg.hH A D19-Mar-19972.6 KiB

wssvar.hH A D11-Dec-20052.9 KiB

wt.cH A D25-Sep-202227.7 KiB

wtreg.hH A D06-Sep-20155.6 KiB

ym.cH A D07-Aug-202137.4 KiB

ymvar.hH A D23-Nov-20118.9 KiB

README.seagate

1#	$NetBSD: README.seagate,v 1.8 2022/04/08 10:17:54 andvar Exp $
2
3The hardware:
4
5The ST01/02, and Future Domain 950 are very simple SCSI controllers. They are
6not busmastering, so the processor must do all transfers a la IDE. They support
7blind transfer by adding wait states (up to a certain limit). Interrupt is
8generated for reconnect and parity errors (maybe also for some other events).
9
10The card consists of one command port that writes to scsi control lines, reads
11status lines, and a data port that read/writes to the 8 data lines. The address
12decoding gives both data and control ports large memory areas to a single
13port. This is used by the code.
14
15The ST01/02 differs from the FD950 in memory address location and SCSI id.
16
17Probing for the card:
18
19A card is recognized by comparing the BIOS signature with known signatures. A
20new card may not be recognized if the BIOS signature has changed. Please send
21new signatures to me.
22
23Driver function:
24
25A scsi command is sent to scsi_cmd function. The command is either placed in
26the queue or an retryable message is returned. The routine may wait for
27completion of the command depending on the supplied flags. A timer is started
28for every command placed in the queue. The commands are added in the order they
29are received. There is a possibility to make all REQUEST SENSE commands be
30queued before all other commands, but I dont think it is a good thing (Linux
31do however use this).
32
33The card is mostly controlled by the sea_main function. It is called by
34scsi_cmd, the interrupt routine, and the timeout routine. The sea_main routine
35runs as long there are something to do (transfer data, issue queued commands,
36and handle reconnected commands).
37
38The data transfers may be done in two different ways: Blind and polled
39transfers. They differ in the way the driver does it handshaking with the
40target. During a blind transfer, the driver code blindly transfers a block
41of data without checking for changed phase. During polled transfers, the
42phase is checked between every character transferred. The polled transfers
43are always used for status information and command transfers.
44
45Because the card does not use DMA in any way, there is no need to handle
46physical addresses. There is no problem with the isa-bus address limit of
4716MB, making bounce-buffers unnecessary.
48
49The data structures:
50
51Every card has a sea_softc structure keeping the queues of commands waiting to
52be issued, and commands currently disconnected. The type of card (Seagate or
53Future Domain), data and control port addresses, scsi id, busy flags for all
54possible targets, and interrupt vector for the card.
55
56Every scsi command to be issued are stored in a sea_scb structure. It contains
57a flag describing status/error of the command, current data buffer position,
58and number of bytes remaining to be transferred.
59
60
61PROBLEMS
62
63I have had problems getting the ST02 boot using the boot floppies. I think it
64is some problem with BIOS calls not working. It is unfortunately impossible to
65disconnect the ST02 floppy controller.
66
67I have had problem to get the driver talk to a 40 MB Seagate disk. I dont have
68access to it any more, so I can't do any more checks on that.
69
70NOTE: The ST02 creates its own description of the disk attached. This is not
71the same as the disk says. This translation problem may cause problems when
72sharing a disk between both DOS and BSD. It is however not impossible.
73