1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys/i386/isa
Jordan K. Hubbard 10bfdf2bae From: "Serge V.Vakulenko" <vak@gw.cronyx.msk.su>
This is new version of Seagate ST01/02, Future Domain TMC-885, TMC-950
SCSI driver for FreeBSD.  I started from the 2.0R version and mostly
rewrote it.  New features are:

1) New probe algorithm.  Old driver read the BIOS region of the adapter
   memory and find the copyright string.  The problem was in the BIOS itself:
   it conflicted with IDE disks.  The solution was to unplug it and
   make the probe algorithm to work without it.
2) Proper timeout handling in numerous places where the driver
   polls waiting for some event.
3) Assembler flagments added in critical places, mostly for data transfer
   to of from the target.  It was possible to make it faster,
   but at the price of decreasing reliability.
4) Target-dependent delays when waiting for REQ deassert event.
   Some devices seem to be slower (CD-ROMS, some tape drives),
   and some seem to be too fast (disks).  The driver tests the REQ
   deassert timeout for each target and then uses it for polling.
5) Device flags added for SCSI parity control and sense request
   priority control.
6) Generic cleanup, after which the driver became much more readable
   (at least by me:).
7) Target data parity error logging is limited to avoid log file overflow.
8) Manual page added.

Submitted by:	serge
1994-12-31 05:31:48 +00:00
..
ic DMA automode patch, fix SB16 clicks 1994-11-01 17:26:50 +00:00
sound Rudimentry bsd-audio emulator for VAT support using FreeBSD's voxware package. 1994-12-16 04:59:18 +00:00
aha1542.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
aha1742.c Expand the EISA MAX_SLOTS from 8 to 16. 1994-11-26 23:10:03 +00:00
aha2742.c Make the sequencer code a .c file instead of a .h file. 1994-11-18 08:14:16 +00:00
aic6360.c The previous revision forgot to define fatal_if_no_DDB() when there is DDB. 1994-11-16 02:45:36 +00:00
aic7770.c Put the sequencer into FASTMODE during initialization. I can now 1994-11-29 23:06:54 +00:00
b004.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
b004.h Add the transputer driver from Christoph Niemann, Luigi Rizzo and 1994-09-21 01:29:41 +00:00
bt742a.c I noticed some weird english had crept in - fix it up a bit. 1994-11-08 02:53:42 +00:00
clock.c icu.s: 1994-12-30 12:43:35 +00:00
cronyx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
ctx.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
ctxreg.h Added Cortex-I Frame Grabber by Paul S. LaFollette, Jr. 1994-10-01 17:59:42 +00:00
cx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
cxreg.h Cronyx/Sigma sync/async serial driver with PPP support 1994-12-02 23:23:01 +00:00
diskslice_machdep.c Change an 0 to WHOLE_DISK_SLICE. 1994-12-30 12:19:11 +00:00
elink.c Include <i386/include/cpufunc.h> to have outb() defined ... 1994-09-17 16:51:47 +00:00
elink.h Reviewed by: 1994-08-24 22:32:44 +00:00
fd.c Here is a minor patch for FreeBSD 2.0R to allow it to recognize 1994-12-04 20:22:20 +00:00
fdc.h Cosmetics. Silence gcc -Wall. Much more to do here :-( 1994-10-10 01:12:27 +00:00
fdreg.h An ifdef almost hit where it was supposed to go. Joerg owes me a good 1994-09-25 23:37:38 +00:00
ft.c >Originator: Gene Stark 1994-12-04 03:10:09 +00:00
ftreg.h Moved the ft.c from 1.1.5.1 over. It works on my Conner thingie. Got 1994-09-25 06:04:25 +00:00
gpib.c Fix a few nasties in the conversion. 1994-12-17 08:36:50 +00:00
gpib.h Add Fred Cawthorne's GPIB driver. 1994-12-17 08:07:03 +00:00
gpibreg.h Add Fred Cawthorne's GPIB driver. 1994-12-17 08:07:03 +00:00
icu.h Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
icu.s icu.s: 1994-12-30 12:43:35 +00:00
if_cx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
if_ed.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_edreg.h Updated to include improvements from FreeBSD 1.1.5. Fixed brokeness 1994-08-04 17:42:35 +00:00
if_el.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_elreg.h Added $Id$ 1994-08-02 07:55:43 +00:00
if_ep.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_epreg.h Andres Vega Garcia's improvements to the ep driver. This driver is a merging 1994-11-13 10:12:37 +00:00
if_ie507.h Reviewed by: 1994-08-24 22:32:44 +00:00
if_ie.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_iereg.h > Gcc2 generates memcpy calls when doing some structure copying in the 1993-10-12 06:52:34 +00:00
if_is.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_isreg.h Added new probe code to detect generic lance based cards. Should now 1994-01-31 16:00:53 +00:00
if_le.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_lnc.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_lnc.h New AMD family ethernet driver. Should support BICC,NE2100, TNIC, 1994-10-02 21:14:38 +00:00
if_ze.c Moved conversion of ether_type to host byte order out of ethernet drivers 1994-11-24 14:29:38 +00:00
if_zereg.h This is the IBM/National PCMCIA ethernet driver from Keith Moore, 1994-06-16 05:32:10 +00:00
isa_device.h Add extra id_enabled flag for userconfig to manipulate. If id_enabled 1994-11-03 04:15:04 +00:00
isa.c Add extra id_enabled flag for userconfig to manipulate. If id_enabled 1994-11-03 04:15:04 +00:00
isa.h I just learned that isa.h is included in assembler files too... 1994-11-19 18:59:04 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
kbd.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:44:34 +00:00
kbdtables.h More intelligent BackTab fix using BTAB special key (unused before) 1994-11-19 23:17:48 +00:00
lpt.c Fix a panic I might have seen, or at least could see some day if I havn't 1994-11-16 06:09:29 +00:00
lptreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
mcd.c Merge several probe diagnostics into one. 1994-12-24 13:24:02 +00:00
mcdreg.h Merge several probe diagnostics into one. 1994-12-24 13:24:02 +00:00
mse.c From: Lars Fredriksen <fredriks@mcs.com> 1994-11-08 05:41:34 +00:00
npx.c Log processes that exit with an masked npx exception that would trap 1994-11-14 14:59:06 +00:00
npx.c.orig New AMD family ethernet driver. Should support BICC,NE2100, TNIC, 1994-10-02 21:14:38 +00:00
pas.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
pcaudio.c Abort writes if a signal is received (don't ignore the value returned by 1994-11-06 00:46:21 +00:00
psm.c Removed inclusion of pio.h and cpufunc.h (cpufunc.h is included from 1994-09-16 13:33:56 +00:00
readMBR.c Undo a previous change. <sys/disklabel.h> was broken, not these files. 1994-11-14 13:22:52 +00:00
README.le Fixed a mis-spelling. 1994-11-13 21:19:18 +00:00
rtc.h Here is a minor patch for FreeBSD 2.0R to allow it to recognize 1994-12-04 20:22:20 +00:00
seagate.c From: "Serge V.Vakulenko" <vak@gw.cronyx.msk.su> 1994-12-31 05:31:48 +00:00
sio.c Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
sioreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00
spkr.c Fix range checking bug, pointed by peter@haywire.dialix.com 1994-10-14 16:37:58 +00:00
syscons.c Fixed two security holes in the pcmmap() function. 1994-12-27 08:43:06 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
tw.c Add tw.c for the X10 driver. 1994-10-22 09:55:02 +00:00
ultra14f.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
vector.s i386/exception.s, 1994-12-03 10:03:19 +00:00
wd.c Fix the "wd" count stat. The seek and xfer stats are still very bogus 1994-12-24 09:43:12 +00:00
wdreg.h New wd driver, based on Bruce Evans 'wx/altwd' driver which has passed 1994-01-04 20:05:26 +00:00
wt.c Patch to fix QIC-02/QIC-36 by Gene Stark. 1994-10-25 08:57:39 +00:00
wtreg.h wt.c - version 1.3 1993-12-13 18:38:44 +00:00

$Id: README.le,v 1.1 1994/10/01 20:15:43 wollman Exp $

----------------

This driver is in no way supported by Digital Equipment.  See the
disclaimers in the sources for more.

This driver supports all the DEC EtherWORKS III NICs (DE203, DE204,
and DE205) and the later DEC EtherWORKS II NICs (DE200, DE201, DE202,
DE422).  DEPCA-style boards prior to the DE200 have not been tested
and may not work.  

This driver is not EISA aware.  If you are using a DE422 or have
configured the EtherWORKS III in EISA mode, make sure you specify
the I/O port properly as this driver will *not* probe for it.
(The I/O port should be 0xNc00 where N is the EISA slot number).

This driver does not yet use the full 128KB allowed by the DE422.
Someday, it might. For EtherWORKS III NICs, the driver will override
the EEPROM setting of MemoryMode and *always* use the 2K for best
results.

The driver includes full support for both BPF and IP Multicast.

[All paths are relative to the top of sys source area, usually
/usr/src/sys.]

The following files need to be moved into their respective
directories:

	if_le.c	   -->	i386/isa
	am7990.h   -->	i386/isa/ic
	lemac.h	   -->	i386/isa/ic

You will need to apply the patch provided in pat.files.i386 to
i386/conf/files.i386 file.

After that is done you will need to edit your config file (in
i386/conf) and a line similar to:

device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr

[The above line assumes the board is still at the factory defaults.]
Change the port, irq, and iomem value if needed to your configuration.

Now you are ready to rebuild your kernel, reboot, and see if the
driver can configure your board.  When the system boots, you will
hopefully something close to:

    EtherWORKS II:

	le0 at 0x300-0x30f irq 5 maddr 0xd0000 msize 65536 on isa
	le0: DE202 ethernet address 08:00:2b:2d:c8:45
	bpf: le0 attached

    EtherWORKS III:

	le0 at 0x320-0x33f irq 5 maddr 0xd0000 msize 2048 on isa
	le0: DE205-AB ethernet address 08:00:2b:bb:23:e0
	le0 attached

in the startup log.  If so, the board configured properly and
should be ready to use.

--
Mail:	thomas@lkg.dec.com
URL:	http://ftp.digital.com/~thomas/