From owner-cvs-src Thu Feb 20 12: 1: 6 2003 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 C437E37B401; Thu, 20 Feb 2003 12:01:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3BF543FE0; Thu, 20 Feb 2003 12:01:02 -0800 (PST) (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 h1KK120U055176; Thu, 20 Feb 2003 12:01:02 -0800 (PST) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1KK128Q055175; Thu, 20 Feb 2003 12:01:02 -0800 (PST) Message-Id: <200302202001.h1KK128Q055175@repoman.freebsd.org> From: Søren Schmidt Date: Thu, 20 Feb 2003 12:01:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/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-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sos 2003/02/20 12:01:02 PST Modified files: sys/dev/ata ata-all.c ata-all.h ata-card.c ata-cbus.c ata-disk.c ata-disk.h ata-dma.c ata-isa.c ata-pci.c ata-raid.c ata-raid.h atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h Added files: sys/dev/ata ata-chipset.c ata-pci.h Log: First round off updates/fixes to the ATA driver. This moves all chipset specific code to a new file 'ata-chipset.c'. Extensive use of tables and pointers to avoid having the same switch on chipset type in several places, and to allow substituting various functions for different HW arch needs. Added PIO mode setup and all DMA modes. Support for all known SiS chipsets. Thanks to Christoph Kukulies for sponsoring a nice ASUS P4S8X SiS648 based board for this work! Tested on: i386, PC98, alpha and sparc64 Revision Changes Path 1.166 +102 -96 src/sys/dev/ata/ata-all.c 1.59 +29 -26 src/sys/dev/ata/ata-all.h 1.8 +2 -9 src/sys/dev/ata/ata-card.c 1.4 +75 -34 src/sys/dev/ata/ata-cbus.c 1.1 +1887 -0 src/sys/dev/ata/ata-chipset.c (new) 1.142 +26 -32 src/sys/dev/ata/ata-disk.c 1.43 +1 -1 src/sys/dev/ata/ata-disk.h 1.113 +56 -1560 src/sys/dev/ata/ata-dma.c 1.11 +4 -9 src/sys/dev/ata/ata-isa.c 1.56 +117 -629 src/sys/dev/ata/ata-pci.c 1.1 +262 -0 src/sys/dev/ata/ata-pci.h (new) 1.53 +17 -13 src/sys/dev/ata/ata-raid.c 1.20 +1 -1 src/sys/dev/ata/ata-raid.h 1.96 +13 -33 src/sys/dev/ata/atapi-all.c 1.48 +1 -1 src/sys/dev/ata/atapi-all.h 1.131 +4 -4 src/sys/dev/ata/atapi-cd.c 1.35 +2 -2 src/sys/dev/ata/atapi-cd.h 1.81 +2 -2 src/sys/dev/ata/atapi-fd.c 1.18 +1 -1 src/sys/dev/ata/atapi-fd.h 1.73 +1 -1 src/sys/dev/ata/atapi-tape.c 1.18 +1 -1 src/sys/dev/ata/atapi-tape.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message