freebsd-skq/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
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
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
ctx.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
ctxreg.h
cx.c Fix overrun error define name 1995-03-31 11:04:22 +00:00
cxreg.h
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
fd.c Reviewed by: no-one yet, but non-intrusive 1995-04-20 03:18:19 +00:00
fdc.h
fdreg.h
ft.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
ftreg.h
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
gpibreg.h
gsc.c Replace all remaining instances of i386/include' by machine' and fix 1995-02-26 05:14:53 +00:00
gscreg.h
icu.h
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
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
if_ie.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
if_iereg.h
if_is.c
if_isreg.h
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
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
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
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
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
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
options.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +00:00
pas.c
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
README.le
rtc.h
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
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

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