From owner-cvs-src@FreeBSD.ORG Sun Aug 24 02:22:28 2003 Return-Path: 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 09A8416A4BF; Sun, 24 Aug 2003 02:22:28 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8486243F93; Sun, 24 Aug 2003 02:22:27 -0700 (PDT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7O9MR0U020197; Sun, 24 Aug 2003 02:22:27 -0700 (PDT) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7O9MR87020196; Sun, 24 Aug 2003 02:22:27 -0700 (PDT) Message-Id: <200308240922.h7O9MR87020196@repoman.freebsd.org> From: Søren Schmidt Date: Sun, 24 Aug 2003 02:22:27 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys ata.h src/sys/conf NOTES files options src/sys/dev/ata ata-all.c ata-all.h ata-card.c ata-cbus.c ata-chipset.c ata-commands.h ata-disk.c ata-disk.h ata-dma.c ata-isa.c ata-lowlevel.c ata-pci.c ata-pci.h ata-queue.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 24 Aug 2003 09:22:28 -0000 sos 2003/08/24 02:22:27 PDT FreeBSD src repository Modified files: sys/sys ata.h sys/conf NOTES files options sys/dev/ata ata-all.c ata-all.h ata-card.c ata-cbus.c ata-chipset.c ata-disk.c ata-disk.h ata-dma.c ata-isa.c ata-pci.c ata-pci.h ata-raid.c ata-raid.h atapi-cam.c atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Added files: sys/dev/ata ata-commands.h ata-lowlevel.c ata-queue.c Removed files: sys/dev/ata atapi-all.c atapi-all.h Log: This is a major rework of the ATA driver (ATAng) Restructure the way ATA/ATAPI commands are processed, use a common ata_request structure for both. This centralises the way requests are handled so locking is much easier to handle. The driver is now layered much more cleanly to seperate the lowlevel HW access so it can be tailored to specific controllers without touching the upper layers. This is needed to support some of the newer semi-intelligent ATA controllers showing up. The top level drivers (disk, ATAPI devices) are more or less still the same with just corrections to use the new interface. Pull ATA out from under Gaint now that locking can be done in a sane way. Add support for a the National Geode SC1100. Thanks to Soekris engineering for sponsoring a Soekris 4801 to make this support. Fixed alot of small bugs in the chipset code for various chips now we are around in that corner anyways. Revision Changes Path 1.1171 +0 -4 src/sys/conf/NOTES 1.816 +3 -5 src/sys/conf/files 1.412 +1 -4 src/sys/conf/options 1.183 +449 -1136 src/sys/dev/ata/ata-all.c 1.63 +167 -83 src/sys/dev/ata/ata-all.h 1.16 +2 -3 src/sys/dev/ata/ata-card.c 1.6 +1 -0 src/sys/dev/ata/ata-cbus.c 1.34 +303 -182 src/sys/dev/ata/ata-chipset.c 1.1 +127 -0 src/sys/dev/ata/ata-commands.h (new) 1.156 +149 -636 src/sys/dev/ata/ata-disk.c 1.47 +2 -35 src/sys/dev/ata/ata-disk.h 1.118 +23 -14 src/sys/dev/ata/ata-dma.c 1.15 +5 -4 src/sys/dev/ata/ata-isa.c 1.1 +787 -0 src/sys/dev/ata/ata-lowlevel.c (new) 1.65 +7 -10 src/sys/dev/ata/ata-pci.c 1.13 +7 -2 src/sys/dev/ata/ata-pci.h 1.1 +471 -0 src/sys/dev/ata/ata-queue.c (new) 1.66 +40 -28 src/sys/dev/ata/ata-raid.c 1.25 +1 -1 src/sys/dev/ata/ata-raid.h 1.101 +0 -699 src/sys/dev/ata/atapi-all.c (dead) 1.49 +0 -196 src/sys/dev/ata/atapi-all.h (dead) 1.19 +151 -77 src/sys/dev/ata/atapi-cam.c 1.138 +289 -271 src/sys/dev/ata/atapi-cd.c 1.36 +55 -127 src/sys/dev/ata/atapi-cd.h 1.86 +129 -71 src/sys/dev/ata/atapi-fd.c 1.21 +1 -0 src/sys/dev/ata/atapi-fd.h 1.81 +170 -87 src/sys/dev/ata/atapi-tape.c 1.20 +1 -0 src/sys/dev/ata/atapi-tape.h 1.20 +224 -261 src/sys/sys/ata.h