Date: Mon, 24 Jan 2000 12:45:25 -0800 (PST) From: Søren Schmidt <sos@FreeBSD.org> 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 Message-ID: <200001242045.MAA55688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001242045.MAA55688>