1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/i386/isa
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
..
ic Next version, many bugs fixed 1995-06-14 19:37:02 +00:00
matcd Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
pcvt Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sound Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
aha1542.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
aha1742.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
aic7770.c First pass cleanup of this driver. This pass does not include the sequencer 1995-07-04 21:14:45 +00:00
b004.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
b004.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
bt742a.c The BT scsi driver has recently had a message changed - it could be 1995-06-25 17:45:05 +00:00
clock.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
creative.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +00:00
cronyx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ctx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ctxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cy.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
diskslice_machdep.c Make the "information" slice printfs if(bootverbose). 1995-05-18 22:45:35 +00:00
elink.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
elink.h Reviewed by: 1994-08-24 22:32:44 +00:00
fd.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
fdc.h Peter's work to work around one of the most annoying bugs in the 1995-01-06 15:20:00 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
gpib.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
gpibreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
gsc.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
gscreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
icu.h Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
icu.s Add hook for rc driver 1995-04-01 04:56:32 +00:00
if_cx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_ed.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_edreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_eg.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_egreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_el.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
if_elreg.h Added $Id$ 1994-08-02 07:55:43 +00:00
if_ep.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_epreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fe.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fereg.h Added `fe' device drive r for Fujitsu MB86960A family. 1995-04-23 18:31:50 +00:00
if_ie507.h Reviewed by: 1994-08-24 22:32:44 +00:00
if_ie.c Remove trailing whitespace. 1995-05-30 08:16:23 +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_ix.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_ixreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_le.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_lnc.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zereg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zp.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zpreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa_device.h Move conflicts flag to the end. 1995-05-11 07:41:52 +00:00
isa.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa.h Convert to ANSI C: change #endif THING to #endif /* THING */. 1995-06-14 07:38:31 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
joy.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbd.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbdtables.h Change fkey 63 from ^[[K to ^[[~. 1995-03-28 21:30:13 +00:00
labpc.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
lpt.c Use ifr_mtu for the mtu value rather than ifr_metric. 1995-06-22 07:03:20 +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
matcd.c "matcd interface " -> "matcd"; this makes userconfig work again and 1995-03-28 08:04:07 +00:00
matcd.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +00:00
mcd.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mcdreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mse.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ncr5380.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
npx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
npx.c.orig New AMD family ethernet driver. Should support BICC,NE2100, TNIC, 1994-10-02 21:14:38 +00:00
options.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcibus.c The PCI config mechanism 1 test failed for the Intel Aries. 1995-06-30 16:11:42 +00:00
pcic.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcic.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
psm.c Add an option to the psm driver to skip the parts of the probe which break 1995-06-22 10:56:56 +00:00
rc.c Next version, many bugs fixed 1995-06-14 19:37:02 +00:00
rcreg.h Next version, many bugs fixed 1995-06-14 19:37:02 +00:00
readMBR.c Remove trailing whitespace. 1995-05-30 08:16:23 +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
scd.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
scdreg.h Bring in the new non-GPL'd driver from Mikael Hybsch. This version is 1995-03-24 18:33:02 +00:00
seagate.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sio.c Fight with hanging modems continued: 1995-06-28 17:58:14 +00:00
sioreg.h Submitted by: Bill Paul (wpaul@ctr.columbia.edu) 1995-01-20 07:34:18 +00:00
spigot.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
spkr.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
syscons.c Don't convert \n to \r\n in pccnputc(). This is the responsibility of 1995-06-14 05:16:12 +00:00
syscons.h Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ultra14f.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
vector.s Don't waste time sending an EOI to ICU1 if option AUTO_EOI_1 is defined. 1995-04-15 21:32:18 +00:00
wd7000.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
wd.c Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
wdreg.h Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wt.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
wtreg.h Remove trailing whitespace. 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/