freebsd-dev/sys/i386/isa
Bruce Evans 37e52b59cc Use sufficient parentheses in macros.
Remove bogus input operands for fnsave(), fnstcw() and fnstsw().

Change all fwait's to fnop's.  This might help avoid hardware bugs.
Wait after fninit with an fnop.  This should be safer now.

Fix some spelling and formatting errors.

Use natural sizes for control and status words (u_short, promotes to int).

Don't clobber the SWI_CLOCK_MASK bits in npx0_imask when using IRQ13.

Set the devconf state correctly (always busy, if configured).  Improve
code for npx_registerdev() a little (gcc can't keep id->id_unit in a
register for some reason).  Don't register a nonexistent npx device.

Print a useful message in npxattach() again (delete references to errors
and not the whole message).  Don't print "387 emulator" if there is no
emulator in the kernel.

Use %p for pointers in error messages.

Don't clobber the FPU state when there is an FPU exception.  Just clear
the exception flags (after saving the flags as before).  This allows
debuggers and SIGFPE handlers to look at the full exception state.
SIGFPE handlers should normally return via longjmp(), which restores a
good FPU state (as before).  Returning from a SIGFPE handler may leave
the FPU in the wrong state (as before).

Clear the busy latch _after_ clearing the exception flags so that there
is less chance of getting a bogus h/w interrupt for a control operation.

Clear the saved exception status word when the next FPU instruction is
excuted so that it doesn't stick around until the next exception.

Clear the busy latch after fnsave() in npxsave() in case it was set when
npxsave() was called.
1995-01-03 04:00:06 +00:00
..
ic DMA automode patch, fix SB16 clicks 1994-11-01 17:26:50 +00:00
sound Rudimentry bsd-audio emulator for VAT support using FreeBSD's voxware package. 1994-12-16 04:59:18 +00:00
aha1542.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
aha1742.c Expand the EISA MAX_SLOTS from 8 to 16. 1994-11-26 23:10:03 +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 The previous revision forgot to define fatal_if_no_DDB() when there is DDB. 1994-11-16 02:45:36 +00:00
aic7770.c Handle both channels of Twin channeled devices. Respect the configuration 1994-12-31 19:31:56 +00:00
b004.c From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> 1994-12-31 12:32:59 +00:00
b004.h Add the transputer driver from Christoph Niemann, Luigi Rizzo and 1994-09-21 01:29:41 +00:00
bt742a.c I noticed some weird english had crept in - fix it up a bit. 1994-11-08 02:53:42 +00:00
clock.c icu.s: 1994-12-30 12:43:35 +00:00
cronyx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
ctx.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +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 bogus and broken include paths: 1994-12-04 08:51:58 +00:00
cxreg.h Cronyx/Sigma sync/async serial driver with PPP support 1994-12-02 23:23:01 +00:00
diskslice_machdep.c Change an 0 to WHOLE_DISK_SLICE. 1994-12-30 12:19:11 +00:00
elink.c
elink.h
fd.c Here is a minor patch for FreeBSD 2.0R to allow it to recognize 1994-12-04 20:22:20 +00:00
fdc.h Cosmetics. Silence gcc -Wall. Much more to do here :-( 1994-10-10 01:12:27 +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 >Originator: Gene Stark 1994-12-04 03:10:09 +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 Fix a few nasties in the conversion. 1994-12-17 08:36:50 +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
icu.h Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
icu.s icu.s: 1994-12-30 12:43:35 +00:00
if_cx.c Fix bogus and broken include paths: 1994-12-04 08:51:58 +00:00
if_ed.c Possible fix for NE2000 problems...the remote byte count wasn't word 1995-01-01 06:38:14 +00:00
if_edreg.h
if_el.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_elreg.h
if_ep.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_epreg.h Andres Vega Garcia's improvements to the ep driver. This driver is a merging 1994-11-13 10:12:37 +00:00
if_ie507.h
if_ie.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_iereg.h
if_is.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_isreg.h
if_le.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
if_lnc.c Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +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 Moved conversion of ether_type to host byte order out of ethernet drivers 1994-11-24 14:29:38 +00:00
if_zereg.h
isa_device.h Add extra id_enabled flag for userconfig to manipulate. If id_enabled 1994-11-03 04:15:04 +00:00
isa.c Add extra id_enabled flag for userconfig to manipulate. If id_enabled 1994-11-03 04:15:04 +00:00
isa.h I just learned that isa.h is included in assembler files too... 1994-11-19 18:59:04 +00:00
iso8859.font Changed header slightly. 1994-09-29 08:29:21 +00:00
kbd.h
kbdtables.h Changes to allow keypad 5 produce \E[E like SCO/ANSI term does 1994-12-31 11:38:39 +00:00
lpt.c Fix a panic I might have seen, or at least could see some day if I havn't 1994-11-16 06:09:29 +00:00
lptreg.h
mcd.c Merge several probe diagnostics into one. 1994-12-24 13:24:02 +00:00
mcdreg.h Merge several probe diagnostics into one. 1994-12-24 13:24:02 +00:00
mse.c From: Lars Fredriksen <fredriks@mcs.com> 1994-11-08 05:41:34 +00:00
npx.c Use sufficient parentheses in macros. 1995-01-03 04:00:06 +00:00
npx.c.orig New AMD family ethernet driver. Should support BICC,NE2100, TNIC, 1994-10-02 21:14:38 +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 Abort writes if a signal is received (don't ignore the value returned by 1994-11-06 00:46:21 +00:00
psm.c
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
seagate.c From: "Serge V.Vakulenko" <vak@gw.cronyx.msk.su> 1994-12-31 05:31:48 +00:00
sio.c Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
sioreg.h
spkr.c Fix range checking bug, pointed by peter@haywire.dialix.com 1994-10-14 16:37:58 +00:00
syscons.c Change the errors in the XT_KEYBOARD patch. red in the face. Thanks Bruce. 1994-12-31 20:34:19 +00:00
timerreg.h
tw.c Add tw.c for the X10 driver. 1994-10-22 09:55:02 +00:00
ultra14f.c Finished device configuration database work for all ISA devices (except `ze') 1994-10-23 21:28:03 +00:00
vector.s i386/exception.s, 1994-12-03 10:03:19 +00:00
wd.c Fix the "wd" count stat. The seek and xfer stats are still very bogus 1994-12-24 09:43:12 +00:00
wdreg.h
wt.c Patch to fix QIC-02/QIC-36 by Gene Stark. 1994-10-25 08:57:39 +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/