From owner-cvs-all@FreeBSD.ORG Mon Sep 6 19:36:27 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37D1616A4CE; Mon, 6 Sep 2004 19:36:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1059443D5A; Mon, 6 Sep 2004 19:36:27 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i86JaQG8090362; Mon, 6 Sep 2004 19:36:26 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i86JaQv4090361; Mon, 6 Sep 2004 19:36:26 GMT (envelope-from sos) Message-Id: <200409061936.i86JaQv4090361@repoman.freebsd.org> From: Søren Schmidt Date: Mon, 6 Sep 2004 19:36:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-disk.c ata-dma.c ata-lowlevel.c ata-pci.c ata-pci.h ata-queue.c atapi-cd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 19:36:27 -0000 sos 2004-09-06 19:36:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-disk.c ata-dma.c ata-lowlevel.c ata-pci.c ata-pci.h ata-queue.c atapi-cd.c Log: Update ATA to -current level. Summary: Fix the handling of "inflight" requests when doing reinit's. Always pick up giant before returning from an ioctl call. Sii_reset needs to wait up to 1 second to get slow disks with it. Set and reset the right bit for UDMA enable/disable on the ICH* chips. Only call dmainit() if there is a valid busmaster resource. Workaround devices that responds with registers as *both* master & slave. Introduce ata_udelay() that uses tsleep instead of DELAY if possible. Properly check malloc returns. Approved by: re@ Revision Changes Path 1.222.2.1 +16 -6 src/sys/dev/ata/ata-all.c 1.81.2.1 +2 -0 src/sys/dev/ata/ata-all.h 1.81.2.1 +38 -29 src/sys/dev/ata/ata-chipset.c 1.175.2.1 +9 -14 src/sys/dev/ata/ata-disk.c 1.129.2.1 +5 -6 src/sys/dev/ata/ata-dma.c 1.44.2.1 +13 -4 src/sys/dev/ata/ata-lowlevel.c 1.87.2.1 +2 -1 src/sys/dev/ata/ata-pci.c 1.32.2.1 +16 -5 src/sys/dev/ata/ata-pci.h 1.32.2.1 +31 -4 src/sys/dev/ata/ata-queue.c 1.170.2.1 +19 -10 src/sys/dev/ata/atapi-cd.c