From owner-cvs-all Tue Sep 21 12:50:48 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2B64914E6D; Tue, 21 Sep 1999 12:50:42 -0700 (PDT) (envelope-from sos@FreeBSD.org) Received: (from sos@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA18934; Tue, 21 Sep 1999 12:50:42 -0700 (PDT) (envelope-from sos@FreeBSD.org) Message-Id: <199909211950.MAA18934@freefall.freebsd.org> From: Søren Schmidt Date: Tue, 21 Sep 1999 12:50:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h ata-dma.c atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk sos 1999/09/21 12:50:42 PDT Modified files: sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h ata-dma.c atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Log: Ten'th update to the new ATA/ATAPI driver: It been awhile since the last major update, as a benefit there are some cool things in this one (and new bugs probably :) )... The ATA driver has grown "real" timeout support for all devices. This means that it should be possible to get in contact with (especially) lost ATAPI devices. It also means that the ATA driver is now usable on notebooks as it will DTRT on resume. An experimental hack at utilizing the Promise66's at UDMA66 is in there, but I cant test it. If someone feels like sending me one, give me a ping. The ATAPI DMA enableling scheme has been changed, also better DMA support for the Aladdin chipset has been implemented for ATAPI devices. Note that the Aladdin apparently only can do DMA reads on ATAPI devices, and the Promise cant do ATAPI DMA at all. I have seen problems on some ATAPI devices that should be able to run in DMA mode, so if you encounter problems with hanging atapi devices during the probe, or during access, disable DMA in atapi-all.c, and let me know. It might be nessesary to do this via a "white list" for known good devices... The ATAPI CDROM driver can now use eject/close without hanging and the bug that caused reading beyond the end of a CD has been fixed. Media change is also handled proberly. DVD drives are identified and are usable as CDROM devices at least, I dont have the HW to test this further, see above :). The ATAPI tape driver has gotten some support for using the DSC method for not blocking the IDE channel during read/write when the device has full buffers. It knows about the OnStream DI-30 device, support is not completed yet, but it can function as a primitive backup medium, without filemarks, and without bad media handeling. This is because the OnStream device doesn't handle this (like everybody else) in HW. It also now supports getting/setting the record position on devices that supports it. Some rather major cleanups and rearrangements as well (cvs -b diff is your freind). I'm closing in on declaring this for beta code, most of the infrastruture is in place by now. As usual USE AT YOUR OWN RISK!!, this is still alpha level code. This driver can hose your disk real bad if anything goes wrong, but now you have been warned :) But please tell me how it works for you! Enjoy! -Søren Revision Changes Path 1.20 +257 -151 src/sys/dev/ata/ata-all.c 1.11 +44 -28 src/sys/dev/ata/ata-all.h 1.24 +184 -160 src/sys/dev/ata/ata-disk.c 1.11 +36 -32 src/sys/dev/ata/ata-disk.h 1.12 +166 -120 src/sys/dev/ata/ata-dma.c 1.14 +354 -249 src/sys/dev/ata/atapi-all.c 1.9 +145 -133 src/sys/dev/ata/atapi-all.h 1.15 +745 -700 src/sys/dev/ata/atapi-cd.c 1.5 +115 -101 src/sys/dev/ata/atapi-cd.h 1.17 +127 -169 src/sys/dev/ata/atapi-fd.c 1.5 +31 -30 src/sys/dev/ata/atapi-fd.h 1.15 +362 -209 src/sys/dev/ata/atapi-tape.c 1.7 +114 -41 src/sys/dev/ata/atapi-tape.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message