freebsd-nq/sys/i386/isa
Sujal Patel 1dce4e5d60 Add a lock for DMA Channels to prevent two devices from using the same DMA
channel at the same time.  The functions isa_dma_acquire() and
isa_dma_release() should be used in all ISA drivers which call isa_dmastart().
This can be used more generally to register the usage of DMA channels in
any driver, but it is required for drivers using isa_dmastart() and friends.

Clean up sanity checks, error messages, etc.
Remove isa_dmadone_nobounce(), it is no longer needed

Reviewed by:	bde
1996-04-08 19:38:57 +00:00
..
ic Changes to the Digi/Arnet SYNC driver: 1996-03-17 00:29:35 +00:00
matcd Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
pcvt Added DEVFS support to create ttyv* devices 1996-03-28 14:30:37 +00:00
sound Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
aha1542.c Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32:42 +00:00
aic6360.c Cleanse the SCSI subsystem of its internally defined types 1996-03-10 07:04:48 +00:00
asc.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +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 #includes of <i386/include/foo.h> to #includes of <machine/foo.h>. 1996-04-07 17:50:10 +00:00
atapi.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
b004.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
b004.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
bt5xx-445.c Override the unit number passed into us in the isa_device structure with 1996-03-31 03:06:20 +00:00
clock.c Fix adjkerntz expression priority 1996-04-05 18:56:10 +00:00
cronyx.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
ctx.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
ctxreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cx.c Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +00:00
cxreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
cy.c Fixed ownerships of callout devices. 1996-03-27 20:03:32 +00:00
cyreg.h Rewrite: 1995-07-05 12:15:52 +00:00
diskslice_machdep.c Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32:42 +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 Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32: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 Completed function declarations and/or added prototypes and/or added 1995-12-15 00:54:32 +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 Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +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 Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +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 Removed undocumented an unused APM_SLOWSTART code. 1996-03-12 05:44:25 +00:00
if_ar.c Changes to the Digi/Arnet SYNC driver: 1996-03-17 00:29:35 +00:00
if_arregs.h Changes to the Digi/Arnet SYNC driver: 1996-03-17 00:29:35 +00:00
if_cx.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
if_ed.c Killed sections 3 and 4 of my copyright as I think it is unnecessarily 1996-04-08 01:25:22 +00:00
if_edreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_eg.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_egreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_el.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_elreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_ep.c Fix media type determination. 1996-02-28 17:19:04 +00:00
if_epreg.h Fix media type determination. 1996-02-28 17:19:04 +00:00
if_fe.c Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>. 1996-04-07 17:50:10 +00:00
if_fereg.h This is a revised fe, Ethernet driver for MB8696x based adapters. 1996-03-17 08:36:38 +00:00
if_ie507.h Reviewed by: 1994-08-24 22:32:44 +00:00
if_ie.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +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_ix.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_ixreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_le.c Remove reference to ac_ipaddr, which was being used to 1996-03-23 19:34:12 +00:00
if_lnc.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_lnc.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_ze.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_zp.c Now that ac->ac_ipaddr and arpwhohas() no longer exist, remove the 1996-03-23 21:32:39 +00:00
if_zpreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
isa_device.h Add a lock for DMA Channels to prevent two devices from using the same DMA 1996-04-08 19:38:57 +00:00
isa.c Add a lock for DMA Channels to prevent two devices from using the same DMA 1996-04-08 19:38:57 +00:00
isa.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
joy.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
kbd.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbdtables.h Change RUKEYMAP sligtly 1996-01-25 16:37:20 +00:00
labpc.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
lpt.c Work around a braindead signal handling in many newer HP printers. 1996-04-04 12:28:36 +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
mcd.c Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32:42 +00:00
mcdreg.h Calculate TOC size to match what scsi cd says. 1996-02-02 20:50:04 +00:00
mse.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
ncr5380.c Cleanse the SCSI subsystem of its internally defined types 1996-03-10 07:04:48 +00:00
npx.c Choose a different name to hold the option definition.. The original one 1996-01-06 23:10:57 +00:00
pcaudio.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
pcibus.c Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32:42 +00:00
pcic.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
pcicx.c Staticize and cleanup. 1995-12-10 13:40:44 +00:00
prof_machdep.c Added a $Id$ keyword. Bruce still needs to put a copyright notice 1996-04-08 16:41:06 +00:00
psm.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
qcam.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
qcamdefs.h Add support for /very/ experimental -e (exposure) option. 1996-03-21 08:22:59 +00:00
qcamio.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
qcamreg.h Update the Connectix QuickCam driver to match my current work. 1996-03-02 03:48:19 +00:00
random_machdep.c Use rdtsc() function instead of inline essembler. 1996-04-07 18:16:26 +00:00
rc.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
rcreg.h Allow any speed from 0..76800 1995-08-02 10:17:35 +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 Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
scdreg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
seagate.c Cleanse the SCSI subsystem of its internally defined types 1996-03-10 07:04:48 +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 Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
sio.c Fixed ownerships of callout devices. 1996-03-27 20:03:32 +00:00
sioreg.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
sireg.h Mainly cosmetic cleanups... It now uses more consistant message reporting 1995-11-28 02:07:36 +00:00
spigot.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
spkr.c Fixed name of /dev/speaker (it's not spkr). 1996-03-27 19:07:33 +00:00
syscons.c Moved the initialization of the devfs devices to after the initialization 1996-03-27 19:11:41 +00:00
syscons.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +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 Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
ultra14f.c Cleanse the SCSI subsystem of its internally defined types 1996-03-10 07:04:48 +00:00
vector.s Killed religous FASTER_NOP again. 1996-03-31 03:31:29 +00:00
wcd.c Replace usage of buf->b_actf with queue.3 and buf->b_act. 1996-04-08 07:56:42 +00:00
wd7000.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
wd.c Fixed group of disk devices (was wheel or games, now operator). 1996-03-27 18:50:10 +00:00
wdreg.h Implement a prototype interface to bus-master IDE DMA on the Triton 1996-01-28 22:16:20 +00:00
wt.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
wtreg.h . move out the error and status register def's for wt into 1996-02-22 00:31:49 +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/