From owner-cvs-src-old@FreeBSD.ORG Thu Oct 9 12:57:42 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82121065699 for ; Thu, 9 Oct 2008 12:57:42 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A04BE8FC1E for ; Thu, 9 Oct 2008 12:57:42 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m99Cvgnw050482 for ; Thu, 9 Oct 2008 12:57:42 GMT (envelope-from sos@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m99Cvgn1050481 for cvs-src-old@freebsd.org; Thu, 9 Oct 2008 12:57:42 GMT (envelope-from sos@repoman.freebsd.org) Message-Id: <200810091257.m99Cvgn1050481@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sos@repoman.freebsd.org using -f From: Søren Schmidt Date: Thu, 9 Oct 2008 12:56:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-dma.c ata-pci.c ata-pci.h ata-sata.c src/sys/dev/ata/chipsets ata-acard.c ata-acerlabs.c ata-adaptec.c ata-ahci.c ata-amd.c ata-ati.c ata-cenatek.c ata-cypress.c ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 12:57:42 -0000 sos 2008-10-09 12:56:57 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/ata ata-all.c ata-all.h ata-dma.c ata-pci.c ata-pci.h sys/modules/ata Makefile sys/modules/ata/atapci Makefile Added files: sys/dev/ata ata-sata.c sys/dev/ata/chipsets ata-acard.c ata-acerlabs.c ata-adaptec.c ata-ahci.c ata-amd.c ata-ati.c ata-cenatek.c ata-cypress.c ata-cyrix.c ata-highpoint.c ata-intel.c ata-ite.c ata-jmicron.c ata-marvell.c ata-micron.c ata-national.c ata-netcell.c ata-nvidia.c ata-promise.c ata-serverworks.c ata-siliconimage.c ata-sis.c ata-via.c sys/modules/ata/atacore Makefile sys/modules/ata/atadevel Makefile ata-devel.c sys/modules/ata/atapci Makefile.inc sys/modules/ata/atapci/chipsets Makefile Makefile.inc sys/modules/ata/atapci/chipsets/ataacard Makefile sys/modules/ata/atapci/chipsets/ataacerlabs Makefile sys/modules/ata/atapci/chipsets/ataadaptec Makefile sys/modules/ata/atapci/chipsets/ataahci Makefile sys/modules/ata/atapci/chipsets/ataamd Makefile sys/modules/ata/atapci/chipsets/ataati Makefile sys/modules/ata/atapci/chipsets/atacenatek Makefile sys/modules/ata/atapci/chipsets/atacypress Makefile sys/modules/ata/atapci/chipsets/atacyrix Makefile sys/modules/ata/atapci/chipsets/atahighpoint Makefile sys/modules/ata/atapci/chipsets/ataintel Makefile sys/modules/ata/atapci/chipsets/ataite Makefile sys/modules/ata/atapci/chipsets/atajmicron Makefile sys/modules/ata/atapci/chipsets/atamarvell Makefile sys/modules/ata/atapci/chipsets/atamicron Makefile sys/modules/ata/atapci/chipsets/atanational Makefile sys/modules/ata/atapci/chipsets/atanetcell Makefile sys/modules/ata/atapci/chipsets/atanvidia Makefile sys/modules/ata/atapci/chipsets/atapromise Makefile sys/modules/ata/atapci/chipsets/ataserverworks Makefile sys/modules/ata/atapci/chipsets/atasiliconimage Makefile sys/modules/ata/atapci/chipsets/atasis Makefile sys/modules/ata/atapci/chipsets/atavia Makefile Removed files: sys/dev/ata ata-chipset.c sys/modules/ata/ata Makefile Log: SVN rev 183724 on 2008-10-09 12:56:57Z by sos This is the roumored ATA modulerisation works, and it needs a little explanation. If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in. However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries: atacore: ATA core functionality, always needed for any ATA setup atacard: CARDBUS support atacbus: PC98 cbus support ataisa: ISA bus support atapci: PCI bus support only generic chipset support. ataahci: AHCI support, also pulled in by some vendor modules. ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia; Vendor support, ie atavia for VIA chipsets atadisk: ATA disk driver ataraid: ATA softraid driver atapicd: ATAPI cd/dvd driver atapifd: ATAPI floppy/flashdisk driver atapist: ATAPI tape driver atausb: ATA<>USB bridge atapicam: ATA<>CAM bridge This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file: device atacore device atapci device atavia And then you need the atadisk, atapicd etc lines in there just as usual. If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual. However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above. Revision Changes Path 1.1337 +37 -11 src/sys/conf/files 1.291 +23 -19 src/sys/dev/ata/ata-all.c 1.135 +1 -0 src/sys/dev/ata/ata-all.h 1.230 +0 -6548 src/sys/dev/ata/ata-chipset.c (dead) 1.157 +1 -1 src/sys/dev/ata/ata-dma.c 1.130 +212 -158 src/sys/dev/ata/ata-pci.c 1.94 +55 -98 src/sys/dev/ata/ata-pci.h 1.1 +357 -0 src/sys/dev/ata/ata-sata.c (new) 1.1 +285 -0 src/sys/dev/ata/chipsets/ata-acard.c (new) 1.1 +307 -0 src/sys/dev/ata/chipsets/ata-acerlabs.c (new) 1.1 +82 -0 src/sys/dev/ata/chipsets/ata-adaptec.c (new) 1.1 +744 -0 src/sys/dev/ata/chipsets/ata-ahci.c (new) 1.1 +149 -0 src/sys/dev/ata/chipsets/ata-amd.c (new) 1.1 +197 -0 src/sys/dev/ata/chipsets/ata-ati.c (new) 1.1 +98 -0 src/sys/dev/ata/chipsets/ata-cenatek.c (new) 1.1 +121 -0 src/sys/dev/ata/chipsets/ata-cypress.c (new) 1.1 +131 -0 src/sys/dev/ata/chipsets/ata-cyrix.c (new) 1.1 +234 -0 src/sys/dev/ata/chipsets/ata-highpoint.c (new) 1.1 +515 -0 src/sys/dev/ata/chipsets/ata-intel.c (new) 1.1 +247 -0 src/sys/dev/ata/chipsets/ata-ite.c (new) 1.1 +204 -0 src/sys/dev/ata/chipsets/ata-jmicron.c (new) 1.1 +542 -0 src/sys/dev/ata/chipsets/ata-marvell.c (new) 1.1 +101 -0 src/sys/dev/ata/chipsets/ata-micron.c (new) 1.1 +133 -0 src/sys/dev/ata/chipsets/ata-national.c (new) 1.1 +115 -0 src/sys/dev/ata/chipsets/ata-netcell.c (new) 1.1 +264 -0 src/sys/dev/ata/chipsets/ata-nvidia.c (new) 1.1 +1250 -0 src/sys/dev/ata/chipsets/ata-promise.c (new) 1.1 +332 -0 src/sys/dev/ata/chipsets/ata-serverworks.c (new) 1.1 +890 -0 src/sys/dev/ata/chipsets/ata-siliconimage.c (new) 1.1 +314 -0 src/sys/dev/ata/chipsets/ata-sis.c (new) 1.1 +351 -0 src/sys/dev/ata/chipsets/ata-via.c (new) 1.3 +1 -1 src/sys/modules/ata/Makefile 1.2 +0 -10 src/sys/modules/ata/ata/Makefile (dead) 1.1 +9 -0 src/sys/modules/ata/atacore/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atadevel/Makefile (new) 1.1 +125 -0 src/sys/modules/ata/atadevel/ata-devel.c (new) 1.2 +4 -1 src/sys/modules/ata/atapci/Makefile 1.1 +3 -0 src/sys/modules/ata/atapci/Makefile.inc (new) 1.1 +5 -0 src/sys/modules/ata/atapci/chipsets/Makefile (new) 1.1 +3 -0 src/sys/modules/ata/atapci/chipsets/Makefile.inc (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataacard/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataacerlabs/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataadaptec/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataahci/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataamd/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataati/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atacenatek/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atacypress/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atacyrix/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atahighpoint/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataintel/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataite/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atajmicron/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atamarvell/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atamicron/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atanational/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atanetcell/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atanvidia/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atapromise/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/ataserverworks/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atasiliconimage/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atasis/Makefile (new) 1.1 +10 -0 src/sys/modules/ata/atapci/chipsets/atavia/Makefile (new)