• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..02-Aug-2016-

MakefileH A D02-Aug-2016209 93

README.seagateH A D02-Aug-20163.3 KiB7353

ad1848_isa.cH A D02-Aug-201620.4 KiB796503

ad1848var.hH A D02-Aug-20165.1 KiB12344

addcom_isa.cH A D02-Aug-20167 KiB266160

adv_isa.cH A D02-Aug-20166.8 KiB254145

aha_isa.cH A D02-Aug-20164.4 KiB16596

aic_isa.cH A D02-Aug-20165.2 KiB17886

aps.cH A D02-Aug-201614.3 KiB578395

aria.cH A D02-Aug-201640.3 KiB1,6811,298

ariareg.hH A D02-Aug-20164.5 KiB13972

ast.cH A D02-Aug-20165.6 KiB219137

atppc_isa.cH A D02-Aug-20167.1 KiB247143

atppc_isadma.cH A D02-Aug-20163.7 KiB12969

atppc_isadma.hH A D02-Aug-20161.9 KiB419

attimer_isa.cH A D02-Aug-20164.4 KiB14463

aztech.cH A D02-Aug-20168.3 KiB359235

bha_isa.cH A D02-Aug-20164.8 KiB177103

boca.cH A D02-Aug-20166.1 KiB247165

cec.cH A D02-Aug-201617.6 KiB710523

cms.cH A D02-Aug-20168.2 KiB331209

cmsreg.hH A D02-Aug-20165 KiB14561

com_isa.cH A D02-Aug-20169.5 KiB337191

com_multi.cH A D02-Aug-20164.8 KiB13951

com_multi.hH A D02-Aug-20161.9 KiB438

commultiprint.cH A D02-Aug-2016499 2216

cs4231var.hH A D02-Aug-20162.3 KiB5114

cs89x0isa.cH A D02-Aug-201611 KiB388201

cs89x0isavar.hH A D02-Aug-20161.8 KiB4412

cy_isa.cH A D02-Aug-20162.3 KiB10771

daic_isa.cH A D02-Aug-20164.1 KiB14383

depca_isa.cH A D02-Aug-20167.2 KiB239126

dpt_isa.cH A D02-Aug-20168.7 KiB326194

ega.cH A D02-Aug-201622 KiB883705

egavar.hH A D02-Aug-20161.4 KiB301

elink.cH A D02-Aug-20163.8 KiB12552

elink.hH A D02-Aug-20161.8 KiB417

esp_isa.cH A D02-Aug-201616.4 KiB587347

esp_isavar.hH A D02-Aug-20164.6 KiB12149

ess.cH A D02-Aug-201667.2 KiB2,8162,084

ess_isa.cH A D02-Aug-20164.3 KiB167105

essreg.hH A D02-Aug-201612.7 KiB324202

essvar.hH A D02-Aug-20165 KiB18589

fd.cH A D02-Aug-201642.1 KiB1,6941,264

fdc_isa.cH A D02-Aug-20166.9 KiB236124

fdcvar.hH A D02-Aug-20165.3 KiB15050

fdreg.hH A D02-Aug-20165.9 KiB14646

fdvar.hH A D02-Aug-20163.4 KiB9145

files.isaH A D02-Aug-201613.2 KiB541427

finsio_isa.cH A D02-Aug-201618 KiB720560

gus.cH A D02-Aug-2016110.8 KiB4,1742,899

gusreg.hH A D02-Aug-20169 KiB267140

i82365_isa.cH A D02-Aug-20165.9 KiB237142

i82365_isasubr.cH A D02-Aug-201614.3 KiB509297

i82365_isavar.hH A D02-Aug-20162.6 KiB5814

ics2101.cH A D02-Aug-20164.3 KiB14083

ics2101var.hH A D02-Aug-20162.2 KiB4915

if_ai.cH A D02-Aug-201612.5 KiB482327

if_aireg.hH A D02-Aug-20162.4 KiB5817

if_ate.cH A D02-Aug-201610.3 KiB413263

if_cs_isa.cH A D02-Aug-20167 KiB278168

if_ec.cH A D02-Aug-201619.9 KiB783460

if_ecreg.hH A D02-Aug-20164.3 KiB16658

if_ef.cH A D02-Aug-201617.2 KiB676457

if_efreg.hH A D02-Aug-20164.7 KiB12744

if_eg.cH A D02-Aug-201620.6 KiB886646

if_egreg.hH A D02-Aug-20163.7 KiB10640

if_el.cH A D02-Aug-201615.9 KiB734467

if_elreg.hH A D02-Aug-20163.1 KiB8351

if_ep_isa.cH A D02-Aug-201611.4 KiB394208

if_fmv_isa.cH A D02-Aug-20167.7 KiB291167

if_ix.cH A D02-Aug-201625.9 KiB977692

if_ixreg.hH A D02-Aug-20164.3 KiB9743

if_iy.cH A D02-Aug-201635.8 KiB1,5671,163

if_lc_isa.cH A D02-Aug-20165.2 KiB210120

if_le_isa.cH A D02-Aug-201610.9 KiB399249

if_levar.hH A D02-Aug-20162.2 KiB5714

if_ne_isa.cH A D02-Aug-20165.4 KiB207122

if_ntwoc_isa.cH A D02-Aug-201621.9 KiB817555

if_ntwoc_isareg.hH A D02-Aug-20165 KiB11857

if_sm_isa.cH A D02-Aug-20165.1 KiB18697

if_tr_isa.cH A D02-Aug-20167.1 KiB267181

if_tribm_isa.cH A D02-Aug-20165.3 KiB190114

if_trtcm_isa.cH A D02-Aug-20169.9 KiB363215

if_tscs_isa.cH A D02-Aug-20165.2 KiB207127

if_we_isa.cH A D02-Aug-201612.5 KiB491329

ioat66.cH A D02-Aug-20165.7 KiB219142

isa.cH A D02-Aug-201611.9 KiB518366

isabusprint.cH A D02-Aug-2016321 1713

isadma.cH A D02-Aug-201619.1 KiB787533

isadmareg.hH A D02-Aug-20163 KiB7522

isadmavar.hH A D02-Aug-20165.3 KiB14583

isareg.hH A D02-Aug-20165.7 KiB16666

isavar.hH A D02-Aug-20168.6 KiB27887

isic_isa.cH A D02-Aug-201630.3 KiB1,2691,015

isic_isa_avm_a1.cH A D02-Aug-201614.2 KiB509290

isic_isa_itk_ix1.cH A D02-Aug-201613.8 KiB495345

isic_isa_tel_s016.cH A D02-Aug-201611 KiB460278

isic_isa_tel_s0163.cH A D02-Aug-201615 KiB608387

isic_isa_tel_s08.cH A D02-Aug-20169.8 KiB394226

isic_isa_usr_sti.cH A D02-Aug-201612.1 KiB446257

isv.cH A D02-Aug-201610.8 KiB456314

isvio.hH A D02-Aug-2016375 2213

itesio_isa.cH A D02-Aug-201617.8 KiB643447

itesio_isavar.hH A D02-Aug-20165.7 KiB162100

joy_ess.cH A D02-Aug-20161.1 KiB4936

joy_isa.cH A D02-Aug-20163.5 KiB12467

lm_isa.cH A D02-Aug-20162.5 KiB8039

lm_isa_common.cH A D02-Aug-20164.4 KiB16799

lm_isa_common_var.hH A D02-Aug-20161.9 KiB4712

lm_wbsio.cH A D02-Aug-20162.6 KiB8039

lpt_isa.cH A D02-Aug-20167.9 KiB270150

madreg.hH A D02-Aug-20163.5 KiB10239

mcd.cH A D02-Aug-201643 KiB1,8161,378

mcdreg.hH A D02-Aug-20167.1 KiB255177

midi_pcppi.cH A D02-Aug-20164.6 KiB163101

moxa_isa.cH A D02-Aug-20165.4 KiB211134

mpu_isa.cH A D02-Aug-20163.7 KiB12877

mpu_sb.cH A D02-Aug-20162.9 KiB9046

mpu_ym.cH A D02-Aug-20163.4 KiB11367

nca_isa.cH A D02-Aug-201612.3 KiB434245

nsclpcsio_isa.cH A D02-Aug-201618.1 KiB706545

opl_ess.cH A D02-Aug-20162.9 KiB9349

opl_isa.cH A D02-Aug-20163.4 KiB12271

opl_sb.cH A D02-Aug-20162.9 KiB9148

opl_wss.cH A D02-Aug-20162.9 KiB8947

opl_ym.cH A D02-Aug-20163.3 KiB11166

pas.cH A D02-Aug-201613.5 KiB503300

pasreg.hH A D02-Aug-201615.4 KiB255193

pcdisplay.cH A D02-Aug-201611 KiB435324

pcdisplayvar.hH A D02-Aug-20161.4 KiB301

pckbc_isa.cH A D02-Aug-20166 KiB232159

pcppi.cH A D02-Aug-20168.8 KiB378262

pcppireg.hH A D02-Aug-2016261 113

pcppivar.hH A D02-Aug-20161.8 KiB6424

ptcd.cH A D02-Aug-20164.6 KiB17998

radiotrack.cH A D02-Aug-20169.8 KiB424296

radiotrack2.cH A D02-Aug-20168.6 KiB347235

rtfps.cH A D02-Aug-20165.8 KiB221142

satlink.cH A D02-Aug-201612.8 KiB534366

satlinkio.hH A D02-Aug-20162.1 KiB5213

satlinkreg.hH A D02-Aug-20162.3 KiB5415

sb.cH A D02-Aug-20168.1 KiB313228

sb_isa.cH A D02-Aug-20164.9 KiB18299

sbdsp.cH A D02-Aug-201660.7 KiB2,5052,024

sbdspvar.hH A D02-Aug-20168.8 KiB265173

sbreg.hH A D02-Aug-201611.5 KiB296182

sbvar.hH A D02-Aug-20161.6 KiB353

seagate.cH A D02-Aug-201636.9 KiB1,461943

sf16fmr2.cH A D02-Aug-20169.1 KiB356240

slhci_isa.cH A D02-Aug-20164.3 KiB15181

smsc.cH A D02-Aug-20169.7 KiB374226

smscvar.hH A D02-Aug-20163 KiB9037

soekrisgpio.cH A D02-Aug-20166.8 KiB261177

spkr.cH A D02-Aug-201614.4 KiB590430

spkrio.hH A D02-Aug-2016477 2110

tcic2_isa.cH A D02-Aug-201610.7 KiB392225

tcom.cH A D02-Aug-20167.7 KiB263149

toaster.cH A D02-Aug-20168.9 KiB324247

toasterlcd.cH A D02-Aug-20166.6 KiB238149

tpm_isa.cH A D02-Aug-20164 KiB14295

tsdio.cH A D02-Aug-20163.7 KiB14980

tsdioreg.hH A D02-Aug-20161.6 KiB4110

tsdiovar.hH A D02-Aug-20161.6 KiB4311

ug_isa.cH A D02-Aug-20164.6 KiB186108

uha_isa.cH A D02-Aug-20169.6 KiB403273

vga_isa.cH A D02-Aug-20163.3 KiB12370

vga_isavar.hH A D02-Aug-20161.1 KiB311

wbsio.cH A D02-Aug-20168.8 KiB355252

wdc_isa.cH A D02-Aug-20168.5 KiB297216

wds.cH A D02-Aug-201632.3 KiB1,366903

wdsreg.hH A D02-Aug-20163.4 KiB165118

weasel_isa.cH A D02-Aug-20169.1 KiB367233

weaselreg.hH A D02-Aug-20165 KiB15038

weaselvar.hH A D02-Aug-20162.2 KiB5610

wss.cH A D02-Aug-201613.1 KiB495351

wss_isa.cH A D02-Aug-201611.5 KiB411256

wssreg.hH A D02-Aug-20162.6 KiB6215

wssvar.hH A D02-Aug-20162.9 KiB8332

wt.cH A D02-Aug-201627.7 KiB1,165807

wtreg.hH A D02-Aug-20165.6 KiB12861

ym.cH A D02-Aug-201637.2 KiB1,4551,029

ymvar.hH A D02-Aug-20168.9 KiB256136

README.seagate

1#	$NetBSD: README.seagate,v 1.5 2005/12/11 12:22:02 christos 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 possiblity 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 transfered. 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 transfered.
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