1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/i386/isa
Søren Schmidt 2bf07b2bd7 Patch to the atapi driver, by Serge V.Vakulenko, minor changes
by me...

Original message:

This patch upgrades the ATAPI CD-ROM driver to version 1.3.

It has three bugs fixed:

1) The `controller not ready' message at startup and later.
   It was caused by staled media change bit.

2) Incorrect shuffling of model string for some drives (NEC, Mitsumi).

3) Handling of drives which report itself as been of direct-access type,
   instead of CD-ROM type.

There is one known bug which is not fixed yet -- probing
in absense of IDE disks. A work-around exists though (thanks Steve!).
If you have no IDE disks attached, then remove them from the kernel
config file to make the CD-ROM attach correctly.
Unfortunately, there is no way to disable them from the kernel
interactive config mode.

Reviewed by:	sos (Soren Schmidt)
Submitted by:	vak@gw.cronyx.msk.su (Serge V.Vakulenko)
1995-09-09 11:41:04 +00:00
..
ic Rewrite: 1995-07-05 12:15:52 +00:00
matcd Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
pcvt Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
sound Actually, 97 out of 304 devsw functions had benignly mismatched types. 1995-09-08 19:57:13 +00:00
aha1542.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
aha1742.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
aha2742.c
aic6360.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
aic7770.c ahcprobe now takes a flags argument. For EISA/VL adapters set it to 1995-09-05 23:39:31 +00:00
asc.c Added devfs nodes for other devices.. (didn't read the docs correctly) 1995-09-08 19:01:28 +00:00
ascreg.h added ID strings so we know what version we have... 1995-09-08 18:30:34 +00:00
atapi.c Patch to the atapi driver, by Serge V.Vakulenko, minor changes 1995-09-09 11:41:04 +00:00
atapi.h Bring in Serge Vakulenko's IDE CDROM (ATAPI) driver. A number of 1995-08-18 11:26:35 +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 Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
clock.c Remove extra args from the calls to getit(). The bug was benign with the 1995-08-25 19:24:56 +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 Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 Don't clip d_ncylinders to value used by partitions. 1995-08-23 11:43:45 +00:00
elink.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
elink.h
fd.c devfs changes.. 1995-09-03 05:43:50 +00:00
fdc.h
fdreg.h
ft.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ftreg.h
gpib.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 Declare `geomtab' as static. It was bogusly shared between the asc and 1995-09-08 16:38:52 +00:00
gscreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
icu.h
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 Remove extra arg from the call to ds_crc(). 1995-08-25 19:50:15 +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
if_ep.c Add SIOCGIFADDR ioctl so rarpd actually works with the if_ep interface. 1995-08-28 12:01:17 +00:00
if_epreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_fe.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +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
if_ie.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
if_iereg.h
if_is.c
if_isreg.h
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
if_ze.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
if_zereg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_zp.c Fix the 3C589 driver to work with the BNC connector. 1995-08-16 23:34:28 +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 Submitted by: Luigi Rizzo (luigi@iet.unipi.it) 1995-09-08 03:14:00 +00:00
iso8859.font
joy.c Actually, 97 out of 304 devsw functions had benignly mismatched types. 1995-09-08 19:57:13 +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 Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
lpt.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
mcdreg.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
mse.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
ncr5380.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
npx.c Remove trailing whitespace. 1995-05-30 08:16:23 +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 benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 The cmd' and addr' args to psmioctl() were in the wrong order. This 1995-09-05 06:23:39 +00:00
rc.c Allow any speed from 0..76800 1995-08-02 10:17:35 +00:00
rcreg.h Allow any speed from 0..76800 1995-08-02 10:17:35 +00:00
readMBR.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
README.le
rtc.h
scd.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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 Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +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 Fix some outstanding bugs in the DCD modem control.. 1995-08-22 00:48:17 +00:00
sio.c Andrew McRae's pcmcia/pccard code, the kernel part. 1995-08-24 08:56:20 +00:00
sioreg.h
sireg.h Bring in my long-overdue version of the Specialix driver. 1995-08-09 13:13:47 +00:00
spigot.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
spkr.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
syscons.c Added missing semi-colon in the XT_KEYBOARD code. W/out it the code 1995-08-16 22:36:43 +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
tw.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
ultra14f.c Remove extra arg from one call to uha_done(). 1995-08-25 20:39:01 +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
wcd.c Patch to the atapi driver, by Serge V.Vakulenko, minor changes 1995-09-09 11:41:04 +00:00
wd7000.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:34 +00:00
wd.c Make files get the NWDC definition from "wdc.h" instead of "wd.h". 1995-09-07 08:20:18 +00:00
wdreg.h Fixes and improvements from John Dyson: 1995-03-22 05:23:01 +00:00
wt.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +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/