From owner-cvs-src@FreeBSD.ORG Sun Feb 4 03:23:45 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACE7116A400; Sun, 4 Feb 2007 03:23:45 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 6A27A13C48D; Sun, 4 Feb 2007 03:23:45 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (9wo1ywds1pd1k931@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l143NgKq004117; Sat, 3 Feb 2007 19:23:42 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l143Nfin004116; Sat, 3 Feb 2007 19:23:41 -0800 (PST) (envelope-from jmg) Date: Sat, 3 Feb 2007 19:23:41 -0800 From: John-Mark Gurney To: "M. Warner Losh" Message-ID: <20070204032340.GI779@funkthat.com> References: <200702030645.l136j3EQ039631@repoman.freebsd.org> <20070203194700.GF779@funkthat.com> <20070203.161857.1586001550.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070203.161857.1586001550.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 03:23:45 -0000 Warner Losh wrote this message on Sat, Feb 03, 2007 at 16:18 -0700: > In message: <20070203194700.GF779@funkthat.com> > John-Mark Gurney writes: > : Warner Losh wrote this message on Sat, Feb 03, 2007 at 06:45 +0000: > : > imp 2007-02-03 06:45:02 UTC > : > > : > FreeBSD src repository > : > > : > Modified files: > : > sys/conf files > : > Log: > : > Mark mmc *_if.m files as standard to allow for mmc/sd being compiled > : > as a module. > : > > : > Submitted by: Andrea Bittau > : > : Those files don't need to be marked standard to allow module building.. > : Either you can compile the *_if.c file as a seperate module and depend > : upon them, or compile the *_if.c into the module directly... > : > : Many other modules do not require their *_if.m files to be marked > : standard... > : > : It looks like some others could possibly be cleaned up and not made > : standard, such as eisa... > > Sadly, these do need to be standard to actually load the drivers. The > reason they are all marked standard is because it is hard to get the > inter-module loading issues if they aren't. The problem is best > illustrated by pccard. pccard provides interfaces to cbb to call, as > well as calls cbb interfaces. Using a module depends makes it so you > can't unload either of the modules... And what about creating a cbbpccardinterface module that both cbb and pccard depend upon? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."