freebsd-skq/sys/i386/isa
Bruce Evans 9fa18570a2 Obtained from: partly from ancient patches of mine via 1.1.5
Introduce TS_CONNECTED and TS_ZOMBIE states.  TS_CONNECTED is set
while a connection is established.  It is set while (TS_CARR_ON or
CLOCAL is set) and TS_ZOMBIE is clear.  TS_ZOMBIE is set for on to
off transitions of TS_CARR_ON that occur when CLOCAL is clear and
is cleared for off to on transitions of CLOCAL.  I/o can only occur
while TS_CONNECTED is set.  TS_ZOMBIE prevents further i/o.

Split the input-event sleep address TSA_CARR_ON(tp) into TSA_CARR_ON(tp)
and TSA_HUP_OR_INPUT(tp).  The former address is now used only for
off to on carrier transitions and equivalent CLOCAL transitions.
The latter is used for all input events, all carrier transitions
and certain CLOCAL transitions.  There are some harmless extra
wakeups for rare connection- related events.  Previously there were
too many extra wakeups for non-rare input events.

Drivers now call l_modem() instead of setting TS_CARR_ON directly
to handle even the initial off to on transition of carrier.  They
should always have done this.  l_modem() now handles TS_CONNECTED
and TS_ZOMBIE as well as TS_CARR_ON.

gnu/isdn/iitty.c:
Set TS_CONNECTED for first open ourself to go with bogusly setting
CLOCAL.

i386/isa/syscons.c, i386/isa/pcvt/pcvt_drv.c:
We fake carrier, so don't also fake CLOCAL.

kern/tty.c:
Testing TS_CONNECTED instead of TS_CARR_ON fixes TIOCCONS forgetting to
test CLOCAL.  TS_ISOPEN was tested instead, but that broke when we disabled
the clearing of TS_ISOPEN for certain transitions of CLOCAL.

Testing TS_CONNECTED fixes ttyselect() returning false success for output
to devices in state !TS_CARR_ON && !CLOCAL.

Optimize the other selwakeup() call (this is not related to the other
changes).

kern/tty_pty.c:
ptcopen() can be declared in traditional C now that dev_t isn't short.
1995-07-31 21:02:00 +00:00
..
ic Rewrite: 1995-07-05 12:15:52 +00:00
matcd Release summary: (detailed descriptions in Edit History in matcd.c) 1995-07-11 03:03:47 +00:00
pcvt Obtained from: partly from ancient patches of mine via 1.1.5 1995-07-31 21:02:00 +00:00
sound Fix enough of the recently introduced brokenness for LINT to compile. 1995-07-29 14:20:54 +00:00
aha1542.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
aha1742.c First step of fixing the remaining sloppy common-style declarations. 1995-07-25 15:53:11 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
aic7770.c First pass cleanup of this driver. This pass does not include the sequencer 1995-07-04 21:14:45 +00:00
b004.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
b004.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
bt742a.c Restore the the fix in revision 1.23 that was blown away by a later commit: 1995-07-25 16:06:06 +00:00
clock.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +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 compiler warnings (systm.h wasn't included). 1995-07-16 10:07:40 +00:00
ctx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ctxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cx.c Obtained from: partly from ancient patches of mine via 1.1.5 1995-07-31 21:02:00 +00:00
cxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cy.c Improve input flow control. 1995-07-31 18:29:51 +00:00
cyreg.h Rewrite: 1995-07-05 12:15:52 +00:00
diskslice_machdep.c Make the "information" slice printfs if(bootverbose). 1995-05-18 22:45:35 +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 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +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 Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +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 Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +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_cx.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_ed.c Fixed bug where a bogus packet length could cause a panic if the length 1995-07-28 12:15:16 +00:00
if_edreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_eg.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_egreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_el.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
if_elreg.h Added $Id$ 1994-08-02 07:55:43 +00:00
if_ep.c Protected entire epioctl routine with splimp(). In this case, it is better 1995-07-05 07:21:34 +00:00
if_epreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fe.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_ixreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_le.c The lemac driver didn't pass transmitted packets to bpf. Now it does. 1995-07-29 13:00:17 +00:00
if_lnc.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Change memcmp() to bcmp(). memcmp() isn't declared or implemented 1995-07-25 22:18:56 +00:00
if_zereg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zp.c Change memcmp() to bcmp(). memcmp() isn't declared or implemented 1995-07-25 22:18:56 +00:00
if_zpreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa_device.h Move conflicts flag to the end. 1995-05-11 07:41:52 +00:00
isa.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
isa.h Convert to ANSI C: change #endif THING to #endif /* THING */. 1995-06-14 07:38:31 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
joy.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Return the correct number of I/O ports as part of the probe so that the 1995-07-31 09:38:21 +00:00
lpt.c Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mcdreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mse.c Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
ncr5380.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
npx.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
pcibus.c The PCI config mechanism 1 test failed for the Intel Aries. 1995-06-30 16:11:42 +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
psm.c Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
rc.c Improve input flow control. 1995-07-31 18:29:51 +00:00
rcreg.h Next version, many bugs fixed 1995-06-14 19:37:02 +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 Here is a minor patch for FreeBSD 2.0R to allow it to recognize 1994-12-04 20:22:20 +00:00
scd.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 The following patch for v1.8 (2.0.5R) of seagate.c allows it to work with 1995-07-13 15:01:38 +00:00
sio.c Improve input flow control. 1995-07-31 18:29:51 +00:00
sioreg.h Submitted by: Bill Paul (wpaul@ctr.columbia.edu) 1995-01-20 07:34:18 +00:00
spigot.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
spkr.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
syscons.c Obtained from: partly from ancient patches of mine via 1.1.5 1995-07-31 21:02:00 +00:00
syscons.h Fix races in scstart(). q_to_b() wasn't called at spltty(), so there 1995-07-11 18:34:30 +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 Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
ultra14f.c First step of fixing the remaining sloppy common-style declarations. 1995-07-25 15:53:11 +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 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
wd.c Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
wdreg.h Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wt.c Remove trailing whitespace. 1995-05-30 08:16:23 +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/