From owner-svn-src-all@FreeBSD.ORG Fri Nov 7 12:35:42 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EE501065670 for ; Fri, 7 Nov 2008 12:35:42 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 0253F8FC08 for ; Fri, 7 Nov 2008 12:35:41 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so922291fgb.35 for ; Fri, 07 Nov 2008 04:35:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Poabl71N4r6bOumqToc74axDrUZ6xC1yuFl0+y+kjbc=; b=l7ihWbh0GhAkP2mbaBTmdkmHUcN4iVTqo9bbKMdEAe9M6Jdd0E4H+h7ARIFj0txDz6 tHqKHAgQiyG7qZCyVBcmZNOwr8clASYvWPeUvl3SpRr+BlGLfcu880BX+seE58Be/Gyv HIpEc2Fk5YEF5LF2WwV9rr/gP0S+nKeHpQF14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=l1dOsrkZyS+t1w4ablNBXseFhIpLQmSzEizOZRtYP+l4Nxyr9DcZFhT1pTrF5IvLeG d1zhYwdnDRqdzz46MXTimk6YxS3fq0MJITLhd8yIDV097KZl8XUfPPlePwoZEZow3xXA vxsmZX0K3HtlZuoRcdgfGH2dwHrLVxnRqJtfI= Received: by 10.180.255.1 with SMTP id c1mr1027033bki.36.1226059804403; Fri, 07 Nov 2008 04:10:04 -0800 (PST) Received: by 10.181.55.1 with HTTP; Fri, 7 Nov 2008 04:10:04 -0800 (PST) Message-ID: <70e8236f0811070410t751240f4m5d81e9dfe9590c3d@mail.gmail.com> Date: Fri, 7 Nov 2008 12:10:04 +0000 From: "Joao Barros" To: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" In-Reply-To: <200810091256.m99Cuvex062502@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200810091256.m99Cuvex062502@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r183724 - in head/sys: conf dev/ata dev/ata/chipsets modules/ata modules/ata/ata modules/ata/atacore modules/ata/atadevel modules/ata/atapci modules/ata/atapci/chipsets modules/ata/atap... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 12:35:42 -0000 On Thu, Oct 9, 2008 at 12:56 PM, S=F8ren Schmidt wrote: > > Author: sos > Date: Thu Oct 9 12:56:57 2008 > New Revision: 183724 > URL: http://svn.freebsd.org/changeset/base/183724 > > Log: > This is the roumored ATA modulerisation works, and it needs a little exp= lanation. > > 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 o= n 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, atacypres= s, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamic= ron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasil= iconimage, 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 drive= rs, that you can kldload individually depending on you needs. Drivers have = the same names as used in the kernel config explained above. (snip) > > Deleted: > head/sys/dev/ata/ata-chipset.c > head/sys/modules/ata/ata/Makefile > Modified: > head/sys/conf/files > head/sys/dev/ata/ata-all.c > head/sys/dev/ata/ata-all.h > head/sys/dev/ata/ata-dma.c > head/sys/dev/ata/ata-pci.c > head/sys/dev/ata/ata-pci.h Hi S=F8ren, There is a stale reference to ata-chipset.c and ident functions in ata-pci-h after this change: /* global prototypes ata-chipset.c */ int ata_generic_ident(device_t); int ata_ahci_ident(device_t); int ata_acard_ident(device_t); int ata_ali_ident(device_t); int ata_amd_ident(device_t); int ata_ati_ident(device_t); int ata_cyrix_ident(device_t); int ata_cypress_ident(device_t); int ata_highpoint_ident(device_t); int ata_intel_ident(device_t); int ata_ite_ident(device_t); int ata_jmicron_ident(device_t); int ata_marvell_ident(device_t); int ata_national_ident(device_t); int ata_nvidia_ident(device_t); int ata_netcell_ident(device_t); int ata_promise_ident(device_t); int ata_serverworks_ident(device_t); int ata_sii_ident(device_t); int ata_sis_ident(device_t); int ata_via_ident(device_t); int ata_legacy(device_t); -- Joao Barros