freebsd-nq/sys/i386/isa
Julian Elischer 999422d707 Reviewed by: no-one yet, but non-intrusive
Submitted by:	julian@tfs.com
Obtained from:	written from scratch

slight changes to make space for devfs..
(also conditional test code in i386/isa/fd.c)

===================================================================
RCS file: /home/ncvs/src/sys/sys/malloc.h,v
retrieving revision 1.7
diff -r1.7 malloc.h
113a114,117
> #define M_DEVFSMNT    62      /* DEVFS mount structure */
> #define M_DEVFSBACK   63      /* DEVFS Back node */
> #define M_DEVFSFRONT  64      /* DEVFS Front node */
> #define M_DEVFSNODE   65      /* DEVFS node */
184c188,192
<       NULL, NULL, NULL, NULL, NULL, \
---
>       "DEVFS mount",  /* 62 M_DEVFSMNT */ \
>       "DEVFS back",   /* 63 M_DEVFSBACK */ \
>       "DEVFS front",  /* 64 M_DEVFSFRONT */ \
>       "DEVFS node",   /* 65 M_DEVFSNODE */ \
>       NULL, \
Index: sys/mount.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/mount.h,v
retrieving revision 1.16
diff -r1.16 mount.h
100c100,101
< #define       MOUNT_MAXTYPE   15
---
> #define MOUNT_DEVFS   16      /* existing device Filesystem */
> #define       MOUNT_MAXTYPE   16
118a120
>       "devfs",        /* 15 MOUNT_DEVFS */ \
Index: sys/vnode.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/vnode.h,v
retrieving revision 1.19
diff -r1.19 vnode.h
61c61
<       VT_UNION, VT_MSDOSFS
---
>       VT_UNION, VT_MSDOSFS, VT_DEVFS
1995-04-20 03:18:19 +00:00
..
ic Add the Cyclades serial driver code (ALPHA) from Andrew Werple and 1995-02-09 09:47:31 +00:00
matcd This is the new submission of the matcd driver. In addition to the 1995-04-09 15:50:27 +00:00
pcvt There have been a few occasions where some actions could dereference 1995-04-10 18:34:51 +00:00
sound Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
aha1542.c Add scsi target support. 1995-04-14 15:13:46 +00:00
aha1742.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
aic7770.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
b004.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
b004.h Add the transputer driver from Christoph Niemann, Luigi Rizzo and 1994-09-21 01:29:41 +00:00
bt742a.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
clock.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
creative.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +00:00
cronyx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
ctx.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
ctxreg.h Added Cortex-I Frame Grabber by Paul S. LaFollette, Jr. 1994-10-01 17:59:42 +00:00
cx.c Fix overrun error define name 1995-03-31 11:04:22 +00:00
cxreg.h Cronyx/Sigma sync/async serial driver with PPP support 1994-12-02 23:23:01 +00:00
cy.c CVS: 1995-03-28 12:29:11 +00:00
diskslice_machdep.c Added support for disks which "OnTrack Disk Manager" has munged. 1995-04-20 01:21:51 +00:00
elink.c Replace all remaining instances of i386/include' by machine' and fix 1995-02-26 05:14:53 +00:00
elink.h Reviewed by: 1994-08-24 22:32:44 +00:00
fd.c Reviewed by: no-one yet, but non-intrusive 1995-04-20 03:18:19 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
gpib.h Add Fred Cawthorne's GPIB driver. 1994-12-17 08:07:03 +00:00
gpibreg.h Add Fred Cawthorne's GPIB driver. 1994-12-17 08:07:03 +00:00
gsc.c Replace all remaining instances of i386/include' by machine' and fix 1995-02-26 05:14:53 +00:00
gscreg.h Gunther Schadow <gusw@fub46.zedat.fu-berlin.de>'s 1995-01-07 14:52:08 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_ed.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_edreg.h Much better fix/support for the 83c795 based cards (the new SMC EtherEZ) 1995-01-23 19:06:08 +00:00
if_eg.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_egreg.h Driver for 3c505 boards. Uses the onboard firmware, which is not a good 1995-04-08 09:39:36 +00:00
if_el.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_elreg.h Added $Id$ 1994-08-02 07:55:43 +00:00
if_ep.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_epreg.h Performance enhancements and a redesign of the transmitter code. 1995-04-10 21:25:06 +00:00
if_ie507.h Reviewed by: 1994-08-24 22:32:44 +00:00
if_ie.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Correct printf format strings to match argument types. 1995-03-02 08:17:14 +00:00
if_ixreg.h Remove unused variables, and move some inside of DEBUGDO to quite up 1995-03-02 07:40:27 +00:00
if_le.c Fix compiler warnings about benign overflow in initializers. 1995-04-17 05:52:17 +00:00
if_lnc.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
if_zereg.h This is the IBM/National PCMCIA ethernet driver from Keith Moore, 1994-06-16 05:32:10 +00:00
if_zp.c I and Seiji Murata <seiji@mt.cs.keio.ac.jp> contributed 3C589 PCMCIA 1995-03-31 06:10:22 +00:00
if_zpreg.h This is the latest version of the APM stuff from HOSOKAWA, I have looked 1995-02-17 02:22:57 +00:00
isa_device.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
isa.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
isa.h Change EISA size to 256 instead of 4096. 1995-02-25 20:26:14 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
joy.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
kbd.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:44:34 +00:00
kbdtables.h Change fkey 63 from ^[[K to ^[[~. 1995-03-28 21:30:13 +00:00
lpt.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
mcdreg.h Use double speed read for FX001D, now this drive 1995-01-30 06:44:40 +00:00
mse.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
ncr5380.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
npx.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Fix probe message printing 1995-03-30 14:33:03 +00:00
pcibus.c Correct pcibus_setup() to return as soon as one test succeeds. 1995-03-22 21:35:39 +00:00
pcic.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
pcic.h This is the latest version of the APM stuff from HOSOKAWA, I have looked 1995-02-17 02:22:57 +00:00
psm.c Replace all remaining instances of i386/include' by machine' and fix 1995-02-26 05:14:53 +00:00
readMBR.c Undo a previous change. <sys/disklabel.h> was broken, not these files. 1994-11-14 13:22:52 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
sio.c Fix initializations of kdc_state for serial consoles. 1995-04-15 21:45:16 +00:00
sioreg.h Submitted by: Bill Paul (wpaul@ctr.columbia.edu) 1995-01-20 07:34:18 +00:00
spigot.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
spkr.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
syscons.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
syscons.h Fixes to the hardware cursor emulation. 1995-04-04 20:06:26 +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 Extensive updates to this package. 1995-04-18 02:00:01 +00:00
ultra14f.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
wd.c I commit this for Bruce, who has serious connectivity problmes pt. 1995-04-14 22:31:58 +00:00
wdreg.h Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wt.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
wtreg.h wt.c - version 1.3 1993-12-13 18:38:44 +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/