Justin T. Gibbs 6b172e59a6 First pass cleanup of this driver. This pass does not include the sequencer
optimizations I have been working on yet, but does bring in some bug fixes
and performance improvments that were easy to regression test:

Setup the data fifo threshold and bus off timing correctly for 27/284x cards.
Users of these adapters with fast periferals (greater than 5MB/s) will notice
a big performance difference. (Sometimes as large as going from 3.7->8.3MB/s).

Fix handling of the active target flags.  Some of the outbs where missing
the base offset in the abort code.  The abort code still needs lots of work.

Support 3940 controllers, but only with 16 SCBs for now.  Eventually I'll
add support for all 255, but I need to find a tester for the code first since
we have to enable the cards external SRAM to do this.

Add Dan Eischen's serial eeprom reading facilities.  This allows the 2940
adapters to pull additional information left over from SCSI-Select right out
out of the configuration seeprom.

If the BIOS is disabled on 274x controllers, reset all target parameters
to there defaults since you can't rely on what is stored in scratch ram.

Report motherboard controllers as such.

Stick the first SG address and count into the SCB data and count areas for
all transfers in preparation of a later sequencer optimization.

Keep track of which targets can are allowed to have the disconnection
priveledge since this will be handled by the kernel driver in the future.

If a target issues a message reject in response to a tagged message,
disable tagged queuing for that target.  Some seagates say they can do
tagged queuing, but lie, and its a shame to have to disable tagged queuing
on all devices just because you have one that can't cope.
1995-07-04 21:14:45 +00:00
..
1995-06-14 19:37:02 +00:00
1995-06-11 19:33:05 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-06-11 19:33:05 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1994-08-24 22:32:44 +00:00
1995-06-11 19:33:05 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-04-01 04:56:32 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-06-11 19:33:05 +00:00
1994-08-02 07:55:43 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1994-08-24 22:32:44 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-11 07:41:52 +00:00
1995-05-30 08:16:23 +00:00
1994-09-29 08:29:21 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-03-28 21:30:13 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-06-14 19:37:02 +00:00
1995-06-14 19:37:02 +00:00
1995-05-30 08:16:23 +00:00
1994-11-13 21:19:18 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-06-28 17:58:14 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +00:00
1995-05-30 08:16:23 +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/