1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/i386/isa
Bruce Evans 4ff3de8e80 Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the
misplaced extern declarations (mostly prototypes of interrupt handlers)
that this exposed.  The prototypes should be moved back to the driver
sources when the functions are staticalized.

Added idempotency guards to <machine/conf.h>.  "ioconf.h" can't be
included when building LKMs so define a wart in bsd.kmod.mk to help
guard against including it.
1995-11-04 17:08:13 +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 Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +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
asc.c
ascreg.h
atapi.c Repair the wcd and atapi code a little, so that it compiles and loads 1995-10-28 17:45:04 +00:00
atapi.h
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
ctx.c
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
gscreg.h
icu.h
icu.s
if_cx.c
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_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
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
isa.c We no longer need the spltty() == splimp() hack if PPP is configured into 1995-10-31 21:03:57 +00:00
isa.h
iso8859.font
joy.c
kbd.h
kbdtables.h
labpc.c
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
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
pcic.c
pcic.h
pcicx.c Get pccard stuff into LINT. 1995-10-31 18:28:55 +00:00
psm.c
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
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 Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +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
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 Made wcdattach() non-static again. It is called from atapi.c. The 1995-10-29 16:10:06 +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/