freebsd-dev/sys/i386/isa
Bruce Evans b3e24f9ce9 Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()
from a string to an identifier so that it can be used to generate
declarations and strings.  It's much easier to stringize an identifier
than to identifize a string.  A uniform naming scheme must be used
for the automatically generated things to apply.  This is a feature.

Used the module identifer to generate prototypes for the module load,
unload and stat functions.  Removed the few prototypes for these that
already existed.

Used the module identifier to generate a unique struct tag in MOD_DEV().
This should probably be done for all the MOD_*() macros.

Moved the trailing semicolon from the MOD_*() macro definitions to the
macro invocations that didn't already (bogusly) have it.

Staticized the module load and unload functions.

Added function return types for the module load, unload and stat functions.

lkm/ibcs2/ibcs2.c:
Included <sys/sysproto.h> to get everything prototyped.
Cleaned up #includes.

lkm/ibcs2/ipfw.c:
Cleaned up #includes.

lkm/linux/linux.c:
The module name had to change from "linux_emulator" to "linux_mod" to
be automatically generated.
Cleaned up #includes.

lkm/syscons/*/*_saver.c:
Completed delcarations of function pointers.

sys/i386/isa/atapi.c:
The module name had to change from "atapi" to "atapi_mod" to be
automatically generated.

sys/i386/isa/wcd.c:
Used the fixed MOD_DEV().  This module has two devices and expanded the
macro in the source instead of fixing it.
The module names had to change from "wcd" and "rwcd" to "wcd_mod" and
"rwcd_mod" to be automatically generated.

sys/pccard/pcic.c:
The module name had to change from "pcic" to "pcic_mod" to be
automatically generated.
1995-11-14 07:35:57 +00:00
..
ic Cleanup, make things static. 1995-10-31 18:41:49 +00:00
matcd Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
pcvt Add /dev/random hooks to the key input routines for pcvt. This allows 1995-11-12 17:02:45 +00:00
sound Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
aha1542.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
aha1742.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
aha2742.c
aic6360.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
aic7770.c ahcprobe now takes a flags argument. For EISA/VL adapters set it to 1995-09-05 23:39:31 +00:00
asc.c Added devfs nodes for other devices.. (didn't read the docs correctly) 1995-09-08 19:01:28 +00:00
ascreg.h added ID strings so we know what version we have... 1995-09-08 18:30:34 +00:00
atapi.c Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
atapi.h Latest fixes from Serge: 1995-10-14 15:41:10 +00:00
b004.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
b004.h
bt742a.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
clock.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
creative.h
cronyx.c Remove bogus includes that became fatal after the previous (intended to 1995-10-10 05:41:39 +00:00
ctx.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
ctxreg.h
cx.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
cxreg.h
cy.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
cyreg.h
diskslice_machdep.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
elink.c
elink.h
fd.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
fdc.h
fdreg.h
ft.c
ftreg.h
gpib.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
gpib.h
gpibreg.h
gsc.c Declare `geomtab' as static. It was bogusly shared between the asc and 1995-09-08 16:38:52 +00:00
gscreg.h
icu.h
icu.s
if_cx.c This upgrades the driver for Cronyx-Sigma multiplexor boards 1995-10-04 22:24:16 +00:00
if_ed.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +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 Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_egreg.h
if_el.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_elreg.h
if_ep.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_epreg.h
if_fe.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_fereg.h
if_ie507.h
if_ie.c Reviewed by: julian and jhay@mikom.csir.co.za 1995-10-26 20:31:59 +00:00
if_iereg.h
if_is.c
if_isreg.h
if_ix.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_ixreg.h
if_le.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
if_lnc.c Cleanup, make things static. 1995-10-31 18:41:49 +00:00
if_lnc.h Cleanup, make things static. 1995-10-31 18:41:49 +00:00
if_ze.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
if_zereg.h
if_zp.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
if_zpreg.h
isa_device.h Remove old eisaconf cruft from the eisa files. The old eisaconf kludged 1995-11-05 04:45:16 +00:00
isa.c Remove old eisaconf cruft from the eisa files. The old eisaconf kludged 1995-11-05 04:45:16 +00:00
isa.h Submitted by: Luigi Rizzo (luigi@iet.unipi.it) 1995-09-08 03:14:00 +00:00
iso8859.font
joy.c Actually, 97 out of 304 devsw functions had benignly mismatched types. 1995-09-08 19:57:13 +00:00
kbd.h
kbdtables.h
labpc.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
lpt.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
lptreg.h
matcd.c
matcd.h
mcd.c Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
mcdreg.h
mse.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
ncr5380.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
npx.c Sorry, the last commit screwed up for me, this is the right one (I hope!) 1995-10-28 13:07:28 +00:00
npx.c.orig
options.h
pas.c
pcaudio.c Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
pcibus.c Make CONF1_ENABLE_MSK1 even less restriktive: Ignore slot ID ... 1995-10-17 23:30:11 +00:00
pcic.c
pcic.h
pcicx.c Get pccard stuff into LINT. 1995-10-31 18:28:55 +00:00
psm.c The cmd' and addr' args to psmioctl() were in the wrong order. This 1995-09-05 06:23:39 +00:00
random.c Remove the #ifdev DEVRANDOM's, as promised. 1995-11-04 16:00:56 +00:00
rc.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
rcreg.h
readMBR.c
README.le
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 Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
scdreg.h
seagate.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
si_code.c
si.c Sync the public source with what I'm currently running. 1995-11-09 21:53:48 +00:00
sio.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
sioreg.h
sireg.h
spigot.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
spkr.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
syscons.c Remove the #ifdev DEVRANDOM's, as promised. 1995-11-04 16:00:56 +00:00
syscons.h Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
timerreg.h
tw.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
ultra14f.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
vector.s Remove the #ifdev DEVRANDOM's, as promised. 1995-11-04 16:00:56 +00:00
wcd.c Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
wd7000.c Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
wd.c Made wcstart() non-static again. It is called from atapi.c. The 1995-10-29 17:34:17 +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 Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
wtreg.h

$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/