From owner-cvs-all Mon Jan 24 12:45:40 2000 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 EDE4715AB4; Mon, 24 Jan 2000 12:45:25 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: (from sos@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA55688; Mon, 24 Jan 2000 12:45:25 -0800 (PST) (envelope-from sos@FreeBSD.org) Message-Id: <200001242045.MAA55688@freefall.freebsd.org> From: Søren Schmidt Date: Mon, 24 Jan 2000 12:45:25 -0800 (PST) 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-dma.c atapi-all.c atapi-cd.c atapi-cd.h atapi-fd.c atapi-tape.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk sos 2000/01/24 12:45:25 PST Modified files: sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-dma.c atapi-all.c atapi-cd.c atapi-cd.h atapi-fd.c atapi-tape.c Log: General cleanup. Dont be so verbose in the probe, only ONE line printed now, to get more info boot verbose. Centralise most printf's in ata-all & ata-dma to use the ata_printf function, it saves alot of codelines. Repeat the identify command if drive fails the first. Protect the timeout functions with splbio. Dont update the transfer details before we are sure the transfer succeded, this way they are proberly retried on errors. Move the handling of next_writeable to userland. Use the READ_CD command to read CD's. That enables us to read _anything_ via the normal read/write interface. This kindof obsoletes the READAUDIO ioctl, but we keep that for now. Revision Changes Path 1.43 +90 -90 src/sys/dev/ata/ata-all.c 1.20 +10 -9 src/sys/dev/ata/ata-all.h 1.52 +63 -59 src/sys/dev/ata/ata-disk.c 1.27 +111 -122 src/sys/dev/ata/ata-dma.c 1.36 +57 -53 src/sys/dev/ata/atapi-all.c 1.36 +185 -169 src/sys/dev/ata/atapi-cd.c 1.12 +1 -2 src/sys/dev/ata/atapi-cd.h 1.33 +36 -23 src/sys/dev/ata/atapi-fd.c 1.28 +71 -55 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