From owner-cvs-all Mon Dec 13 2:19:46 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 3BE2F150A1; Mon, 13 Dec 1999 02:19:41 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: (from sos@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA04820; Mon, 13 Dec 1999 02:19:41 -0800 (PST) (envelope-from sos@FreeBSD.org) Message-Id: <199912131019.CAA04820@freefall.freebsd.org> From: Søren Schmidt Date: Mon, 13 Dec 1999 02:19:40 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-all.c ata-disk.c ata-dma.c atapi-all.c atapi-all.h atapi-cd.c atapi-fd.c atapi-tape.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk sos 1999/12/13 02:19:40 PST Modified files: sys/dev/ata ata-all.c ata-disk.c ata-dma.c atapi-all.c atapi-all.h atapi-cd.c atapi-fd.c atapi-tape.c Log: Add DMA support for the SiS 5591 and old PIIX chipsets. Add a missing DELAY(1) in ata_wait. Change the info from ad_version, so the ATA version from the disk can be used to quantify the DAM modes valid for this drive, ie be more selective with turning DMA on on older disks that should not support it.. Fix the probe for BIOS enabled DMA in the generic case, master/slave was reversed in the test. Check the return for ata_command in all cases, and print warnings if it fails. Call ata_dmainit with all dmamodes off when falling back to PIO mode, that should take care of both the Promise & HPT366 controllers not being able to handle the fallback... Cleanup the printf's in the drivers, use the prober device name (if possible) instead of ataN-master/slave. Revision Changes Path 1.34 +10 -7 src/sys/dev/ata/ata-all.c 1.44 +24 -21 src/sys/dev/ata/ata-disk.c 1.22 +55 -3 src/sys/dev/ata/ata-dma.c 1.25 +39 -43 src/sys/dev/ata/atapi-all.c 1.16 +2 -1 src/sys/dev/ata/atapi-all.h 1.27 +6 -3 src/sys/dev/ata/atapi-cd.c 1.27 +3 -1 src/sys/dev/ata/atapi-fd.c 1.23 +3 -1 src/sys/dev/ata/atapi-tape.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message