From owner-cvs-src@FreeBSD.ORG Sat Mar 11 01:24:28 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 313A616A4A7; Sat, 11 Mar 2006 01:24:24 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E78E43E3F; Fri, 10 Mar 2006 12:30:56 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2ACUKcn091348; Fri, 10 Mar 2006 12:30:30 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2ACUFS3091337; Fri, 10 Mar 2006 12:30:15 GMT (envelope-from sos) Message-Id: <200603101230.k2ACUFS3091337@repoman.freebsd.org> From: Søren Schmidt Date: Fri, 10 Mar 2006 12:30:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sys ata.h src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-queue.c ata-raid.c atapi-cd.c atapi-fd.c atapi-fd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 01:24:28 -0000 sos 2006-03-10 12:30:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sys ata.h sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-queue.c ata-raid.c atapi-cd.c atapi-fd.c atapi-fd.h Log: MFC: Only use the channel in the request given to ata_completed if its still present. Only look for ICRC and CORR errors on ATA devices not ATAPI. Get rid of all the "long long"/"maxint" casting around in printf's. On all our platforms intmax == int64_t so simply using %j to print int64_t's is safe all over, and doesn't pullute the code. Update atapi-fd to support direct devices such as disks. ATAUSB will need to hook into the delayed boot identify to have interrupts running, so externalize it. Add USB modes. Approved by: re@ (mux) Revision Changes Path 1.252.2.7 +7 -3 src/sys/dev/ata/ata-all.c 1.103.2.7 +1 -0 src/sys/dev/ata/ata-all.h 1.189.2.3 +5 -7 src/sys/dev/ata/ata-disk.c 1.50.2.4 +14 -10 src/sys/dev/ata/ata-queue.c 1.98.2.7 +27 -36 src/sys/dev/ata/ata-raid.c 1.179.2.5 +0 -3 src/sys/dev/ata/atapi-cd.c 1.102.2.2 +90 -65 src/sys/dev/ata/atapi-fd.c 1.24.2.2 +16 -3 src/sys/dev/ata/atapi-fd.h 1.26.2.4 +5 -0 src/sys/sys/ata.h