freebsd-nq/sys/i386/isa
Julian Elischer 87f6c6625d Pass 3 of the great devsw changes
most devsw referenced functions are now static, as they are
in the same file as their devsw structure. I've also added DEVFS
support for nearly every device in the system, however
many of the devices have 'incorrect' names under DEVFS
because I couldn't quickly work out the correct naming conventions.
(but devfs won't be coming on line for a month or so anyhow so that doesn't
matter)

If you "OWN" a device which would normally have an entry in /dev
then search for the devfs_add_devsw() entries and munge to make them right..
check out similar devices to see what I might have done in them in you
can't see what's going on..
for a laugh compare conf.c conf.h defore and after... :)
I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
a much more complicated job.. (pass 5 :)

pass 4 will be to make the devsw tables of type (cdevsw * )
rather than (cdevsw)
seems to work here..
complaints to the usual places.. :)
1995-12-08 11:19:42 +00:00
..
ic This driver supports the Arnet SYNC/570i ISA cards that is based on the 1995-11-21 02:32:04 +00:00
matcd Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
pcvt Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
sound Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
aha1542.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +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 Make the sequencer code a .c file instead of a .h file. 1994-11-18 08:14:16 +00:00
aic6360.c Removed unnecessary #includes of <sys/user.h>. Some of these were just 1995-12-06 23:44:23 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
b004.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
b004.h Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
bt742a.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
clock.c Fix Pentium CPU rate diagnosis: 1995-11-29 19:57:22 +00:00
creative.h Changes to incorporate the Matsushita CDROM driver (otherwise known as 1995-03-02 04:07:03 +00:00
cronyx.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
ctx.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
ctxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cx.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
cxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cy.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Reviewed by: 1994-08-24 22:32:44 +00:00
fd.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Mega commit for sysctl. 1995-11-20 12:42:39 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
gscreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
icu.h Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
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 all: 1995-12-05 02:01:59 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
if_ed.c Updated my copyright. 1995-12-05 13:01:33 +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 all: 1995-12-05 02:01:59 +00:00
if_egreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_el.c all: 1995-12-05 02:01:59 +00:00
if_elreg.h Added $Id$ 1994-08-02 07:55:43 +00:00
if_ep.c all: 1995-12-05 02:01:59 +00:00
if_epreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fe.c all: 1995-12-05 02:01:59 +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 Reviewed by: 1994-08-24 22:32:44 +00:00
if_ie.c all: 1995-12-05 02:01:59 +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 all: 1995-12-05 02:01:59 +00:00
if_ixreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_le.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
if_lnc.c all: 1995-12-05 02:01:59 +00:00
if_lnc.h Cleanup, make things static. 1995-10-31 18:41:49 +00:00
if_ze.c all: 1995-12-05 02:01:59 +00:00
if_zereg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zp.c all: 1995-12-05 02:01:59 +00:00
if_zpreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa_device.h Mega commit for sysctl. 1995-11-20 12:42:39 +00:00
isa.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
isa.h Updated comments. The comments about the unused addresses get broken 1995-11-18 09:29:39 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
joy.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
kbd.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbdtables.h Change fkey 63 from ^[[K to ^[[~. 1995-03-28 21:30:13 +00:00
labpc.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
lpt.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
mcdreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mse.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
ncr5380.c Removed unnecessary #includes of <sys/user.h>. Some of these were just 1995-12-06 23:44:23 +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 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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
pcibus.c Make CONF1_ENABLE_MSK1 even less restriktive: Ignore slot ID ... 1995-10-17 23:30:11 +00:00
pcic.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcic.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcicx.c Get pccard stuff into LINT. 1995-10-31 18:28:55 +00:00
psm.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
random.c move variables inside the #ifdef. 1995-11-20 12:12:02 +00:00
rc.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
rcreg.h Allow any speed from 0..76800 1995-08-02 10:17:35 +00:00
readMBR.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
sio.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
sioreg.h Submitted by: Bill Paul (wpaul@ctr.columbia.edu) 1995-01-20 07:34:18 +00:00
sireg.h Mainly cosmetic cleanups... It now uses more consistant message reporting 1995-11-28 02:07:36 +00:00
spigot.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
spkr.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
syscons.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
syscons.h Separate colors & attributes as Terry points 1995-11-28 00:17:32 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
ultra14f.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
vector.s Remove the #ifdev DEVRANDOM's, as promised. 1995-11-04 16:00:56 +00:00
wcd.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
wd7000.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
wd.c Pass 3 of the great devsw changes 1995-12-08 11:19:42 +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 Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
wtreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +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/