|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 02-Aug-2016 | - |
| Makefile | H A D | 02-Aug-2016 | 209 | 9 | 3 |
| README.seagate | H A D | 02-Aug-2016 | 3.3 KiB | 73 | 53 |
| ad1848_isa.c | H A D | 02-Aug-2016 | 20.4 KiB | 796 | 503 |
| ad1848var.h | H A D | 02-Aug-2016 | 5.1 KiB | 123 | 44 |
| addcom_isa.c | H A D | 02-Aug-2016 | 7 KiB | 266 | 160 |
| adv_isa.c | H A D | 02-Aug-2016 | 6.8 KiB | 254 | 145 |
| aha_isa.c | H A D | 02-Aug-2016 | 4.4 KiB | 165 | 96 |
| aic_isa.c | H A D | 02-Aug-2016 | 5.2 KiB | 178 | 86 |
| aps.c | H A D | 02-Aug-2016 | 14.3 KiB | 578 | 395 |
| aria.c | H A D | 02-Aug-2016 | 40.3 KiB | 1,681 | 1,298 |
| ariareg.h | H A D | 02-Aug-2016 | 4.5 KiB | 139 | 72 |
| ast.c | H A D | 02-Aug-2016 | 5.6 KiB | 219 | 137 |
| atppc_isa.c | H A D | 02-Aug-2016 | 7.1 KiB | 247 | 143 |
| atppc_isadma.c | H A D | 02-Aug-2016 | 3.7 KiB | 129 | 69 |
| atppc_isadma.h | H A D | 02-Aug-2016 | 1.9 KiB | 41 | 9 |
| attimer_isa.c | H A D | 02-Aug-2016 | 4.4 KiB | 144 | 63 |
| aztech.c | H A D | 02-Aug-2016 | 8.3 KiB | 359 | 235 |
| bha_isa.c | H A D | 02-Aug-2016 | 4.8 KiB | 177 | 103 |
| boca.c | H A D | 02-Aug-2016 | 6.1 KiB | 247 | 165 |
| cec.c | H A D | 02-Aug-2016 | 17.6 KiB | 710 | 523 |
| cms.c | H A D | 02-Aug-2016 | 8.2 KiB | 331 | 209 |
| cmsreg.h | H A D | 02-Aug-2016 | 5 KiB | 145 | 61 |
| com_isa.c | H A D | 02-Aug-2016 | 9.5 KiB | 337 | 191 |
| com_multi.c | H A D | 02-Aug-2016 | 4.8 KiB | 139 | 51 |
| com_multi.h | H A D | 02-Aug-2016 | 1.9 KiB | 43 | 8 |
| commultiprint.c | H A D | 02-Aug-2016 | 499 | 22 | 16 |
| cs4231var.h | H A D | 02-Aug-2016 | 2.3 KiB | 51 | 14 |
| cs89x0isa.c | H A D | 02-Aug-2016 | 11 KiB | 388 | 201 |
| cs89x0isavar.h | H A D | 02-Aug-2016 | 1.8 KiB | 44 | 12 |
| cy_isa.c | H A D | 02-Aug-2016 | 2.3 KiB | 107 | 71 |
| daic_isa.c | H A D | 02-Aug-2016 | 4.1 KiB | 143 | 83 |
| depca_isa.c | H A D | 02-Aug-2016 | 7.2 KiB | 239 | 126 |
| dpt_isa.c | H A D | 02-Aug-2016 | 8.7 KiB | 326 | 194 |
| ega.c | H A D | 02-Aug-2016 | 22 KiB | 883 | 705 |
| egavar.h | H A D | 02-Aug-2016 | 1.4 KiB | 30 | 1 |
| elink.c | H A D | 02-Aug-2016 | 3.8 KiB | 125 | 52 |
| elink.h | H A D | 02-Aug-2016 | 1.8 KiB | 41 | 7 |
| esp_isa.c | H A D | 02-Aug-2016 | 16.4 KiB | 587 | 347 |
| esp_isavar.h | H A D | 02-Aug-2016 | 4.6 KiB | 121 | 49 |
| ess.c | H A D | 02-Aug-2016 | 67.2 KiB | 2,816 | 2,084 |
| ess_isa.c | H A D | 02-Aug-2016 | 4.3 KiB | 167 | 105 |
| essreg.h | H A D | 02-Aug-2016 | 12.7 KiB | 324 | 202 |
| essvar.h | H A D | 02-Aug-2016 | 5 KiB | 185 | 89 |
| fd.c | H A D | 02-Aug-2016 | 42.1 KiB | 1,694 | 1,264 |
| fdc_isa.c | H A D | 02-Aug-2016 | 6.9 KiB | 236 | 124 |
| fdcvar.h | H A D | 02-Aug-2016 | 5.3 KiB | 150 | 50 |
| fdreg.h | H A D | 02-Aug-2016 | 5.9 KiB | 146 | 46 |
| fdvar.h | H A D | 02-Aug-2016 | 3.4 KiB | 91 | 45 |
| files.isa | H A D | 02-Aug-2016 | 13.2 KiB | 541 | 427 |
| finsio_isa.c | H A D | 02-Aug-2016 | 18 KiB | 720 | 560 |
| gus.c | H A D | 02-Aug-2016 | 110.8 KiB | 4,174 | 2,899 |
| gusreg.h | H A D | 02-Aug-2016 | 9 KiB | 267 | 140 |
| i82365_isa.c | H A D | 02-Aug-2016 | 5.9 KiB | 237 | 142 |
| i82365_isasubr.c | H A D | 02-Aug-2016 | 14.3 KiB | 509 | 297 |
| i82365_isavar.h | H A D | 02-Aug-2016 | 2.6 KiB | 58 | 14 |
| ics2101.c | H A D | 02-Aug-2016 | 4.3 KiB | 140 | 83 |
| ics2101var.h | H A D | 02-Aug-2016 | 2.2 KiB | 49 | 15 |
| if_ai.c | H A D | 02-Aug-2016 | 12.5 KiB | 482 | 327 |
| if_aireg.h | H A D | 02-Aug-2016 | 2.4 KiB | 58 | 17 |
| if_ate.c | H A D | 02-Aug-2016 | 10.3 KiB | 413 | 263 |
| if_cs_isa.c | H A D | 02-Aug-2016 | 7 KiB | 278 | 168 |
| if_ec.c | H A D | 02-Aug-2016 | 19.9 KiB | 783 | 460 |
| if_ecreg.h | H A D | 02-Aug-2016 | 4.3 KiB | 166 | 58 |
| if_ef.c | H A D | 02-Aug-2016 | 17.2 KiB | 676 | 457 |
| if_efreg.h | H A D | 02-Aug-2016 | 4.7 KiB | 127 | 44 |
| if_eg.c | H A D | 02-Aug-2016 | 20.6 KiB | 886 | 646 |
| if_egreg.h | H A D | 02-Aug-2016 | 3.7 KiB | 106 | 40 |
| if_el.c | H A D | 02-Aug-2016 | 15.9 KiB | 734 | 467 |
| if_elreg.h | H A D | 02-Aug-2016 | 3.1 KiB | 83 | 51 |
| if_ep_isa.c | H A D | 02-Aug-2016 | 11.4 KiB | 394 | 208 |
| if_fmv_isa.c | H A D | 02-Aug-2016 | 7.7 KiB | 291 | 167 |
| if_ix.c | H A D | 02-Aug-2016 | 25.9 KiB | 977 | 692 |
| if_ixreg.h | H A D | 02-Aug-2016 | 4.3 KiB | 97 | 43 |
| if_iy.c | H A D | 02-Aug-2016 | 35.8 KiB | 1,567 | 1,163 |
| if_lc_isa.c | H A D | 02-Aug-2016 | 5.2 KiB | 210 | 120 |
| if_le_isa.c | H A D | 02-Aug-2016 | 10.9 KiB | 399 | 249 |
| if_levar.h | H A D | 02-Aug-2016 | 2.2 KiB | 57 | 14 |
| if_ne_isa.c | H A D | 02-Aug-2016 | 5.4 KiB | 207 | 122 |
| if_ntwoc_isa.c | H A D | 02-Aug-2016 | 21.9 KiB | 817 | 555 |
| if_ntwoc_isareg.h | H A D | 02-Aug-2016 | 5 KiB | 118 | 57 |
| if_sm_isa.c | H A D | 02-Aug-2016 | 5.1 KiB | 186 | 97 |
| if_tr_isa.c | H A D | 02-Aug-2016 | 7.1 KiB | 267 | 181 |
| if_tribm_isa.c | H A D | 02-Aug-2016 | 5.3 KiB | 190 | 114 |
| if_trtcm_isa.c | H A D | 02-Aug-2016 | 9.9 KiB | 363 | 215 |
| if_tscs_isa.c | H A D | 02-Aug-2016 | 5.2 KiB | 207 | 127 |
| if_we_isa.c | H A D | 02-Aug-2016 | 12.5 KiB | 491 | 329 |
| ioat66.c | H A D | 02-Aug-2016 | 5.7 KiB | 219 | 142 |
| isa.c | H A D | 02-Aug-2016 | 11.9 KiB | 518 | 366 |
| isabusprint.c | H A D | 02-Aug-2016 | 321 | 17 | 13 |
| isadma.c | H A D | 02-Aug-2016 | 19.1 KiB | 787 | 533 |
| isadmareg.h | H A D | 02-Aug-2016 | 3 KiB | 75 | 22 |
| isadmavar.h | H A D | 02-Aug-2016 | 5.3 KiB | 145 | 83 |
| isareg.h | H A D | 02-Aug-2016 | 5.7 KiB | 166 | 66 |
| isavar.h | H A D | 02-Aug-2016 | 8.6 KiB | 278 | 87 |
| isic_isa.c | H A D | 02-Aug-2016 | 30.3 KiB | 1,269 | 1,015 |
| isic_isa_avm_a1.c | H A D | 02-Aug-2016 | 14.2 KiB | 509 | 290 |
| isic_isa_itk_ix1.c | H A D | 02-Aug-2016 | 13.8 KiB | 495 | 345 |
| isic_isa_tel_s016.c | H A D | 02-Aug-2016 | 11 KiB | 460 | 278 |
| isic_isa_tel_s0163.c | H A D | 02-Aug-2016 | 15 KiB | 608 | 387 |
| isic_isa_tel_s08.c | H A D | 02-Aug-2016 | 9.8 KiB | 394 | 226 |
| isic_isa_usr_sti.c | H A D | 02-Aug-2016 | 12.1 KiB | 446 | 257 |
| isv.c | H A D | 02-Aug-2016 | 10.8 KiB | 456 | 314 |
| isvio.h | H A D | 02-Aug-2016 | 375 | 22 | 13 |
| itesio_isa.c | H A D | 02-Aug-2016 | 17.8 KiB | 643 | 447 |
| itesio_isavar.h | H A D | 02-Aug-2016 | 5.7 KiB | 162 | 100 |
| joy_ess.c | H A D | 02-Aug-2016 | 1.1 KiB | 49 | 36 |
| joy_isa.c | H A D | 02-Aug-2016 | 3.5 KiB | 124 | 67 |
| lm_isa.c | H A D | 02-Aug-2016 | 2.5 KiB | 80 | 39 |
| lm_isa_common.c | H A D | 02-Aug-2016 | 4.4 KiB | 167 | 99 |
| lm_isa_common_var.h | H A D | 02-Aug-2016 | 1.9 KiB | 47 | 12 |
| lm_wbsio.c | H A D | 02-Aug-2016 | 2.6 KiB | 80 | 39 |
| lpt_isa.c | H A D | 02-Aug-2016 | 7.9 KiB | 270 | 150 |
| madreg.h | H A D | 02-Aug-2016 | 3.5 KiB | 102 | 39 |
| mcd.c | H A D | 02-Aug-2016 | 43 KiB | 1,816 | 1,378 |
| mcdreg.h | H A D | 02-Aug-2016 | 7.1 KiB | 255 | 177 |
| midi_pcppi.c | H A D | 02-Aug-2016 | 4.6 KiB | 163 | 101 |
| moxa_isa.c | H A D | 02-Aug-2016 | 5.4 KiB | 211 | 134 |
| mpu_isa.c | H A D | 02-Aug-2016 | 3.7 KiB | 128 | 77 |
| mpu_sb.c | H A D | 02-Aug-2016 | 2.9 KiB | 90 | 46 |
| mpu_ym.c | H A D | 02-Aug-2016 | 3.4 KiB | 113 | 67 |
| nca_isa.c | H A D | 02-Aug-2016 | 12.3 KiB | 434 | 245 |
| nsclpcsio_isa.c | H A D | 02-Aug-2016 | 18.1 KiB | 706 | 545 |
| opl_ess.c | H A D | 02-Aug-2016 | 2.9 KiB | 93 | 49 |
| opl_isa.c | H A D | 02-Aug-2016 | 3.4 KiB | 122 | 71 |
| opl_sb.c | H A D | 02-Aug-2016 | 2.9 KiB | 91 | 48 |
| opl_wss.c | H A D | 02-Aug-2016 | 2.9 KiB | 89 | 47 |
| opl_ym.c | H A D | 02-Aug-2016 | 3.3 KiB | 111 | 66 |
| pas.c | H A D | 02-Aug-2016 | 13.5 KiB | 503 | 300 |
| pasreg.h | H A D | 02-Aug-2016 | 15.4 KiB | 255 | 193 |
| pcdisplay.c | H A D | 02-Aug-2016 | 11 KiB | 435 | 324 |
| pcdisplayvar.h | H A D | 02-Aug-2016 | 1.4 KiB | 30 | 1 |
| pckbc_isa.c | H A D | 02-Aug-2016 | 6 KiB | 232 | 159 |
| pcppi.c | H A D | 02-Aug-2016 | 8.8 KiB | 378 | 262 |
| pcppireg.h | H A D | 02-Aug-2016 | 261 | 11 | 3 |
| pcppivar.h | H A D | 02-Aug-2016 | 1.8 KiB | 64 | 24 |
| ptcd.c | H A D | 02-Aug-2016 | 4.6 KiB | 179 | 98 |
| radiotrack.c | H A D | 02-Aug-2016 | 9.8 KiB | 424 | 296 |
| radiotrack2.c | H A D | 02-Aug-2016 | 8.6 KiB | 347 | 235 |
| rtfps.c | H A D | 02-Aug-2016 | 5.8 KiB | 221 | 142 |
| satlink.c | H A D | 02-Aug-2016 | 12.8 KiB | 534 | 366 |
| satlinkio.h | H A D | 02-Aug-2016 | 2.1 KiB | 52 | 13 |
| satlinkreg.h | H A D | 02-Aug-2016 | 2.3 KiB | 54 | 15 |
| sb.c | H A D | 02-Aug-2016 | 8.1 KiB | 313 | 228 |
| sb_isa.c | H A D | 02-Aug-2016 | 4.9 KiB | 182 | 99 |
| sbdsp.c | H A D | 02-Aug-2016 | 60.7 KiB | 2,505 | 2,024 |
| sbdspvar.h | H A D | 02-Aug-2016 | 8.8 KiB | 265 | 173 |
| sbreg.h | H A D | 02-Aug-2016 | 11.5 KiB | 296 | 182 |
| sbvar.h | H A D | 02-Aug-2016 | 1.6 KiB | 35 | 3 |
| seagate.c | H A D | 02-Aug-2016 | 36.9 KiB | 1,461 | 943 |
| sf16fmr2.c | H A D | 02-Aug-2016 | 9.1 KiB | 356 | 240 |
| slhci_isa.c | H A D | 02-Aug-2016 | 4.3 KiB | 151 | 81 |
| smsc.c | H A D | 02-Aug-2016 | 9.7 KiB | 374 | 226 |
| smscvar.h | H A D | 02-Aug-2016 | 3 KiB | 90 | 37 |
| soekrisgpio.c | H A D | 02-Aug-2016 | 6.8 KiB | 261 | 177 |
| spkr.c | H A D | 02-Aug-2016 | 14.4 KiB | 590 | 430 |
| spkrio.h | H A D | 02-Aug-2016 | 477 | 21 | 10 |
| tcic2_isa.c | H A D | 02-Aug-2016 | 10.7 KiB | 392 | 225 |
| tcom.c | H A D | 02-Aug-2016 | 7.7 KiB | 263 | 149 |
| toaster.c | H A D | 02-Aug-2016 | 8.9 KiB | 324 | 247 |
| toasterlcd.c | H A D | 02-Aug-2016 | 6.6 KiB | 238 | 149 |
| tpm_isa.c | H A D | 02-Aug-2016 | 4 KiB | 142 | 95 |
| tsdio.c | H A D | 02-Aug-2016 | 3.7 KiB | 149 | 80 |
| tsdioreg.h | H A D | 02-Aug-2016 | 1.6 KiB | 41 | 10 |
| tsdiovar.h | H A D | 02-Aug-2016 | 1.6 KiB | 43 | 11 |
| ug_isa.c | H A D | 02-Aug-2016 | 4.6 KiB | 186 | 108 |
| uha_isa.c | H A D | 02-Aug-2016 | 9.6 KiB | 403 | 273 |
| vga_isa.c | H A D | 02-Aug-2016 | 3.3 KiB | 123 | 70 |
| vga_isavar.h | H A D | 02-Aug-2016 | 1.1 KiB | 31 | 1 |
| wbsio.c | H A D | 02-Aug-2016 | 8.8 KiB | 355 | 252 |
| wdc_isa.c | H A D | 02-Aug-2016 | 8.5 KiB | 297 | 216 |
| wds.c | H A D | 02-Aug-2016 | 32.3 KiB | 1,366 | 903 |
| wdsreg.h | H A D | 02-Aug-2016 | 3.4 KiB | 165 | 118 |
| weasel_isa.c | H A D | 02-Aug-2016 | 9.1 KiB | 367 | 233 |
| weaselreg.h | H A D | 02-Aug-2016 | 5 KiB | 150 | 38 |
| weaselvar.h | H A D | 02-Aug-2016 | 2.2 KiB | 56 | 10 |
| wss.c | H A D | 02-Aug-2016 | 13.1 KiB | 495 | 351 |
| wss_isa.c | H A D | 02-Aug-2016 | 11.5 KiB | 411 | 256 |
| wssreg.h | H A D | 02-Aug-2016 | 2.6 KiB | 62 | 15 |
| wssvar.h | H A D | 02-Aug-2016 | 2.9 KiB | 83 | 32 |
| wt.c | H A D | 02-Aug-2016 | 27.7 KiB | 1,165 | 807 |
| wtreg.h | H A D | 02-Aug-2016 | 5.6 KiB | 128 | 61 |
| ym.c | H A D | 02-Aug-2016 | 37.2 KiB | 1,455 | 1,029 |
| ymvar.h | H A D | 02-Aug-2016 | 8.9 KiB | 256 | 136 |
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