freebsd-nq/sys/i386/isa
Bruce Evans dd87702a51 Allocate DMA bounce buffers only when requested by drivers. Only the
fd and wt drivers need bounce buffers, so this normally saves 32K-1K
of kernel memory.

Keep track of which DMA channels are busy.  isa_dmadone() must now be
called when DMA has finished or been aborted.

Panic for unallocated and too-small (required) bounce buffers.

fd.c:
There will be new warnings about isa_dmadone() not being called after
DMA has been aborted.

sound/dmabuf.c:
isa_dmadone() needs more parameters than are available, so temporarily
use a new interface isa_dmadone_nobounce() to avoid having to worry
about panics for fake parameters.  Untested.
1996-01-27 02:33:48 +00:00
..
ic recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
matcd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
pcvt Get rid of two and a half printf in the kernel. 1996-01-15 22:41:03 +00:00
sound Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
aha1542.c Use the new adapter_softc field in the scsi_link structure so that 1996-01-07 19:22:39 +00:00
aic6360.c Use the new adapter_softc field in the scsi_link structure so that 1996-01-07 19:22:39 +00:00
asc.c Fixed allocation of DMA buffers. The DMA bounce buffers were sometimes 1996-01-27 00:53:58 +00:00
ascreg.h added ID strings so we know what version we have... 1995-09-08 18:30:34 +00:00
atapi.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
atapi.h Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
b004.c Julian forgot to make the *devsw structures static. 1995-12-08 23:23:00 +00:00
b004.h Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
bt5xx-445.c Change the generic "btintr" function's name to "bt_intr" - the same as 1995-12-14 14:19:19 +00:00
clock.c Since new bcd* macros not argument range overflow resistant, 1996-01-16 06:35:40 +00:00
cronyx.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
ctx.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
ctxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cx.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
cxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cy.c Avoid local sprintfs and other printf'isms. 1996-01-25 07:21:50 +00:00
cyreg.h Rewrite: 1995-07-05 12:15:52 +00:00
diskslice_machdep.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
elink.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
elink.h
fd.c Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +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
ft.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
ftreg.h
gpib.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +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 Fixed allocation of DMA buffers. The DMA bounce buffers were sometimes 1996-01-27 00:53:58 +00:00
gscreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
icu.h
icu.s Multiplex the soft tty interrupt some more to support the cy driver. 1995-07-05 14:35:34 +00:00
if_ar.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
if_arregs.h This driver supports the Arnet SYNC/570i ISA cards that is based on the 1995-11-21 02:32:04 +00:00
if_cx.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
if_ed.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
if_edreg.h if_ze.c was derived from if_ed.c about 42 (!) versions ago. It is now 1995-09-26 08:57:47 +00:00
if_eg.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_egreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_el.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_elreg.h
if_ep.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_epreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fe.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +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
if_ie.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_iereg.h
if_ix.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_ixreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_le.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_lnc.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_lnc.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
if_ze.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_zp.c The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_zpreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa_device.h Declared new functions isa_dmainit() and isa_dmadone_nobounce(). 1996-01-27 01:57:02 +00:00
isa.c Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
isa.h Updated comments. The comments about the unused addresses get broken 1995-11-18 09:29:39 +00:00
joy.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
kbd.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbdtables.h Change RUKEYMAP sligtly 1996-01-25 16:37:20 +00:00
labpc.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
lpt.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
lptreg.h
mcd.c Hide the probe warnings behind `bootverbose'. 1996-01-23 22:55:08 +00:00
mcdreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mse.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
ncr5380.c Use the new adapter_softc field in the scsi_link structure so that 1996-01-07 19:22:39 +00:00
npx.c Choose a different name to hold the option definition.. The original one 1996-01-06 23:10:57 +00:00
pcaudio.c Fixed permissions of /dev/pcaudio*. 1995-12-22 15:27:48 +00:00
pcibus.c Completed function declarations and/or added prototypes and/or added 1995-12-16 00:27:59 +00:00
pcic.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcicx.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
prof_machdep.c Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
psm.c Removed unused #includes. 1995-12-15 00:40:38 +00:00
random_machdep.c 1) ifdef out some unused functions (for now) 1995-12-29 08:04:32 +00:00
rc.c Add more disc_optim calls to track line disc changes 1995-12-28 11:58:35 +00:00
rcreg.h Allow any speed from 0..76800 1995-08-02 10:17:35 +00:00
README.le Fixed a mis-spelling. 1994-11-13 21:19:18 +00:00
rtc.h BIOS manufacturers don't seem to have a unique idea about 2.88 MB 1995-10-09 15:00:39 +00:00
scd.c Make bin2bcd and bcd2bin global macroes instead of having local 1996-01-15 10:28:44 +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 Use the new adapter_softc field in the scsi_link structure so that 1996-01-07 19:22:39 +00:00
si_code.c Drat! I forgot to add this part of the Specialix Driver.. 1995-08-10 08:10:57 +00:00
si.c Avoid local sprintfs and other printf'isms. 1996-01-25 07:21:50 +00:00
sio.c Avoid local sprintfs and other printf'isms. 1996-01-25 07:21:50 +00:00
sioreg.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
sireg.h Mainly cosmetic cleanups... It now uses more consistant message reporting 1995-11-28 02:07:36 +00:00
spigot.c Removed duplicated #includes of <sys/conf.h> 1995-12-15 00:29:31 +00:00
spkr.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
syscons.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
syscons.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
timerreg.h
tw.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
ultra14f.c Remove some unused vars, use new hex2ascii macro. 1996-01-15 16:15:27 +00:00
vector.s Reinstate AUTO_EOI_1. This did break suspend/resume on some portables. 1996-01-19 23:38:07 +00:00
wcd.c Fixed a bug with the ATAPI_STATIC option, so it compiles again. 1995-12-29 22:17:12 +00:00
wd7000.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
wd.c Use the new & improved printf rather than homegrown kludges. 1996-01-16 18:13:18 +00:00
wdreg.h Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
wt.c Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
wtreg.h MTRETENS for the wt driver. This patch got lost with 1996-01-08 12:46:15 +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/