Home | History | Annotate | only in /src/sys/dev/isa
Up to higher level directory
NameDateSize
ad1848_isa.c08-Jun-201920.3K
ad1848var.h08-May-20195.1K
addcom_isa.c07-Aug-20217K
adv_isa.c07-Jul-20166.8K
aha_isa.c18-Oct-20144.4K
aic_isa.c23-Nov-20095.2K
aps.c17-Feb-202514.4K
aria.c08-Jun-201937.5K
ariareg.h27-Oct-20094.5K
ast.c07-Aug-20215.7K
atppc_isa.c25-Sep-20227.1K
atppc_isadma.c25-Sep-20223.7K
atppc_isadma.h04-Mar-20071.9K
attimer_isa.c23-Aug-20094.4K
aztech.c27-Oct-20128.3K
bha_isa.c14-Jul-20164.8K
boca.c07-Aug-20216.2K
cec.c07-Aug-202117.6K
cms.c08-May-20198.2K
cmsreg.h28-Apr-20085K
com_isa.c08-Dec-20189.6K
com_multi.c08-Dec-20184.8K
com_multi.h11-Dec-20051.9K
commultiprint.c11-Dec-2007499
cs4231var.h28-Apr-20082.3K
cs89x0isa.c02-Aug-202111K
cs89x0isavar.h04-Mar-20071.8K
cy_isa.c20-Nov-20232.4K
depca_isa.c27-Oct-20127.2K
dpt_isa.c14-Jul-20168.7K
ega.c14-Jul-202522K
egavar.h11-Dec-20051.4K
elink.c25-Sep-20223.7K
elink.h28-Apr-20081.8K
esp_isa.c18-Oct-201416.4K
esp_isavar.h13-Apr-20084.6K
ess.c09-Feb-202464.1K
ess_isa.c22-May-20104.3K
essreg.h09-Feb-202412.7K
essvar.h16-Aug-20145K
fd.c25-Sep-202242.3K
fdc_isa.c18-Apr-20227K
fdcvar.h28-Apr-20085.3K
fdreg.h30-Jun-20115.9K
fdvar.h13-Apr-20153.4K
files.isa26-Apr-202112.2K
finsio_isa.c29-Jun-202218K
gus.c06-Feb-2021108.8K
gusreg.h09-Feb-20249K
i82365_isa.c25-Sep-20225.9K
i82365_isasubr.c08-Sep-202414.2K
i82365_isavar.h17-Sep-20092.6K
ics2101.c08-May-20194.3K
ics2101var.h28-Apr-20082.2K
if_ai.c12-Jul-202211.9K
if_aireg.h28-Apr-20082.4K
if_ate.c03-Feb-201910.3K
if_cs_isa.c13-Apr-20157K
if_ec.c08-Feb-202419.9K
if_ecreg.h27-Dec-20194.3K
if_ef.c12-Jul-202216.4K
if_efreg.h28-Apr-20084.7K
if_eg.c17-Sep-202220.6K
if_egreg.h11-Dec-20053.7K
if_el.c17-Sep-202216K
if_elreg.h20-May-20223.1K
if_ep_isa.c27-Dec-201911.2K
if_fmv_isa.c12-Apr-20087.7K
if_ix.c10-Feb-202422.7K
if_ixreg.h22-Jan-20014.3K
if_iy.c17-Sep-202235.6K
if_lc_isa.c11-Jul-20165.2K
if_le_isa.c29-May-202211.1K
if_levar.h28-Apr-20082.2K
if_ne_isa.c03-Mar-20105.4K
if_ntwoc_isa.c14-Jul-201621.9K
if_ntwoc_isareg.h04-Jan-20005K
if_sm_isa.c08-Feb-20185.1K
if_tscs_isa.c13-Apr-20155.2K
if_we_isa.c18-Oct-201412.5K
ioat66.c07-Aug-20215.8K
isa.c07-Aug-202112.1K
isa_stub.c25-Sep-20222.4K
isabusprint.c16-Nov-2006321
isadma.c27-Jun-202519.3K
isadmareg.h29-May-20183.1K
isadmavar.h29-Apr-20125.3K
isareg.h27-Dec-20195.7K
isavar.h12-May-20098.6K
isv.c25-Jul-201410.8K
isvio.h02-Apr-2008375
itesio_isa.c29-Jun-202223.6K
itesio_isavar.h03-Jul-20216.6K
joy_ess.c08-May-20191.1K
joy_isa.c05-Dec-20113.5K
lm_isa.c17-Jan-20122.5K
lm_isa_common.c24-Jun-20204.5K
lm_isa_common_var.h17-Jan-20121.9K
lm_wbsio.c18-Jan-20122.6K
lpt_isa.c27-Dec-20197.9K
madreg.h02-Nov-20223.5K
Makefile27-Jan-2019196
mcd.c09-Sep-202143.1K
mcdreg.h08-Jun-20007.1K
midi_pcppi.c08-May-20194.6K
moxa_isa.c07-Aug-20215.5K
mpu_isa.c14-Jul-20163.7K
mpu_sb.c08-May-20192.9K
mpu_ym.c08-May-20193.4K
nca_isa.c27-Oct-201212.3K
nct.c07-Aug-202117.5K
nsclpcsio_isa.c07-Aug-202118.1K
opl_ess.c24-Sep-20222.9K
opl_isa.c24-Sep-20223.4K
opl_sb.c24-Sep-20222.9K
opl_wss.c24-Sep-20222.8K
opl_ym.c24-Sep-20223.3K
pas.c27-Dec-201913.7K
pasreg.h08-Mar-200615.4K
pcdisplay.c07-Aug-202111K
pcdisplayvar.h11-Dec-20051.4K
pckbc_isa.c25-Sep-20226K
pcppi.c09-Feb-20248.8K
pcppireg.h15-Apr-1998261
pcppivar.h14-Jun-20171.8K
ptcd.c07-Aug-20214.6K
radiotrack.c23-Mar-20149.8K
radiotrack2.c27-Oct-20128.6K
README.seagate08-Apr-20223.3K
rtfps.c07-Aug-20215.8K
sb.c07-Aug-20218.4K
sb_isa.c08-May-20194.9K
sbdsp.c24-Jul-202162.2K
sbdspvar.h08-May-20198.7K
sbreg.h09-Feb-202411.5K
sbvar.h28-Apr-20081.6K
seagate.c25-Sep-202236.9K
sf16fmr2.c27-Oct-20129.1K
slhci_isa.c14-Jul-20164.3K
smsc.c29-Jun-20229.8K
smscvar.h27-Oct-20123K
soekrisgpio.c07-Aug-20216.8K
spkr_pcppi.c25-Sep-20224.5K
spkrio.h09-Dec-201689
tcic2_isa.c25-Sep-202210.7K
tcom.c07-Aug-20217.7K
tpm_isa.c16-Jan-20214.5K
tsdio.c07-Aug-20213.8K
tsdioreg.h23-Oct-20091.6K
tsdiovar.h27-Oct-20121.6K
ug_isa.c25-Sep-20224.6K
uha_isa.c12-Nov-20199.7K
vga_isa.c25-Sep-20223.2K
vga_isavar.h11-Dec-20051.1K
wbsio.c16-Dec-202225.7K
wbsioreg.h16-Dec-20227.4K
wdc_isa.c25-Sep-20228.2K
wds.c25-Sep-202232.3K
wdsreg.h11-Dec-20053.4K
weasel_isa.c20-Aug-20159.1K
weaselreg.h11-Apr-20225K
weaselvar.h12-May-20092.2K
wss.c07-Aug-202113.3K
wss_isa.c12-Feb-202211.3K
wssreg.h19-Mar-19972.6K
wssvar.h11-Dec-20052.9K
wt.c25-Sep-202227.7K
wtreg.h06-Sep-20155.6K
ym.c07-Aug-202137.4K
ymvar.h23-Nov-20118.9K

README.seagate

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