freebsd-nq/sys/i386/isa
Poul-Henning Kamp c112d76dd6 I commit this for Bruce, who has serious connectivity problmes pt.
This should NOT go into 2.0.5  /phk

Support disk slices.  This involves mainly replacing inline code with
function calls.  Support for ST506 drives is temporarily broken since
the `setgeom' arg to dsopen() is not implemented completely enough to
use.  The `setgeom' arg will go away and ST506 drives will be supported
in another way.  A large amount of dead code is left in wdopen() as a
reminder of the problems here.

Close the device in wdsize().  Open tracking was broken on all drives
with a swap device.

Remove support for soft write protection.  There are no ioctls to set
it.  It was used to disable writing to unlabelled disks, but we want
to support writing to foreign partitions on unlabeled disks.

Use generic dkbad routines to do about 2/3 of the work for supporting
bad144.

Improve disk statistics: estimate 4MB/sec instead of 8MB/sec for
the transfer rate (ISA max is 4MB/sec, old IDE max is 3.3MB/sec);
fix dk_xfer[] (it counted sectors, not transfers); keep the estimate
dk_seek[] = dk_xfer[] (was sectors, is now transfers); only count
words actually transferred (the count is still too high after a
failed write and after retries).  Remove wdxfer[].

Fix indentation in wdattach().  Fix resulting botched printing of the
disk size for ST506 drives.  Print the disk geometry less cryptically.
1995-04-14 22:31:58 +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 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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +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 Forgot two things in yesterday's massive devconf update: 1995-04-13 15:03:29 +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
ultra14f.c Add a class field to devconf and mst drivers. 1995-04-12 20:48:13 +00:00
vector.s
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/