freebsd-nq/sys/i386/isa
Andrey A. Chernov 2cad35d11b Several fixes to help "raw" tty mode work correctly with
BREAK/parity/framing errors.
Term "correctly" assumes POSIX spec. and 4.4 ttyinput() behaviour.
1) Discard BREAK/parity at interrupt level when apropriate IGN*
is set in iflag. It helps "raw" mode works even IGN* is set.
2) Zero parity (if INPCK) and framing directly in buffer
before passing it to b_to_q() in "raw" mode.
Efficency:
interrupt level: if no error occurse, only two "test" commands added
"raw" mode: buf scan incc times for parity/framing added

Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 10:51:59 +00:00
..
ic Add the Cyclades serial driver code (ALPHA) from Andrew Werple and 1995-02-09 09:47:31 +00:00
pcvt Update to beta3.20/b22 1995-03-05 22:26:21 +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 and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
aha1742.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
aha2742.c
aic6360.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
aic7770.c Compile cleanly -Wall. 1995-03-07 08:58:22 +00:00
b004.c
b004.h
bt742a.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +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
ctxreg.h
cx.c Incorporate bde's code-review comments. 1995-02-28 00:21:11 +00:00
cxreg.h
cy.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
diskslice_machdep.c Add more compatibility cruft: 1995-03-25 12:07:31 +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 Terminate all probe/diagnostic/error messages correctly with a \n. 1995-03-26 19:28:22 +00:00
fdc.h
fdreg.h
ft.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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 Fix restoring cpl in the swi_ast_phantom case. The system sometimes 1995-02-20 20:35:24 +00:00
if_cx.c
if_ed.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
if_edreg.h
if_el.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
if_elreg.h
if_ep.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
if_epreg.h Patches from Serge Babkin to fix interrupt handling bugs. 1995-03-23 06:53:39 +00:00
if_ie507.h
if_ie.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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 Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
if_lnc.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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 Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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 and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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 Give backspace to the people (again) 1995-03-27 19:41:11 +00:00
lpt.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +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 and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
mcdreg.h
mse.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
ncr5380.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
npx.c Changed the printf()s in npxattach a bit so you don't end up with 1995-03-05 04:06:44 +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
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 Fix the path to scdreg.h. 1995-03-25 18:14:37 +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 and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
sio.c Several fixes to help "raw" tty mode work correctly with 1995-03-28 10:51:59 +00:00
sioreg.h
spigot.c Replace all remaining instances of i386/include' by machine' and fix 1995-02-26 05:14:53 +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 Minor update to syscons. 1995-03-03 08:37:52 +00:00
syscons.h Minor update to syscons. 1995-03-03 08:37:52 +00:00
timerreg.h
tw.c
ultra14f.c Change MAX_SLOTS -> EISA_MAX_SLOTS and correct comments. Add this to 1995-03-23 09:00:20 +00:00
vector.s
wd7000.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
wd.c Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wdreg.h Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wt.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +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/