From owner-cvs-all Tue Apr 9 11:35: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 0211737B416 for ; Tue, 9 Apr 2002 11:34:56 -0700 (PDT) Received: (qmail 32575 invoked from network); 9 Apr 2002 18:34:55 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Apr 2002 18:34:55 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g39IZhv49646; Tue, 9 Apr 2002 14:35:43 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200204091826.g39IQwp48087@freefall.freebsd.org> Date: Tue, 09 Apr 2002 14:34:46 -0400 (EDT) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-Apr-2002 John Baldwin wrote: > jhb 2002/04/09 11:26:58 PDT > > Modified files: > sys/conf NOTES > sys/i386/conf NOTES > Log: > Round 2 of munging the MI/MD split in NOTES. Put almost all the device > drivers with MI portions into the MI notes. Device drivers such as busses > like the isa, eisa, and pci devices are now in the MD NOTES section even > though they have some MI code. This will ensure that only the proper bits > of device drivers will be included due to the optional bits dependent on > the busses in sys/conf/files. This commit also takes the stance that since > hints are ignored in NOTES anyways, it is ok to include hints for a bus > that may not be present. > > Advice from: bde > > Revision Changes Path > 1.1019 +359 -8 src/sys/conf/NOTES > 1.1017 +6 -383 src/sys/i386/conf/NOTES Probably the rules for where a driver or option should go should be something like this: 1) If it is implemented completely in either MI or MD files, it goes in either the MI or MD NOTES respectively. 2) If the code shares MI and MD parts it becomes trickier. If the MD parts are optional on something like the isa bus which is defined in MD NOTES and the MD code is an attachment or layer above the MI code, then the driver should be in the MI NOTES. Otherwise, the driver should be in the MD NOTES. Currently the only one I think I may have wrong is ACPI. It has lots of MI files but it depends on some MD files AFAIK, so I should probably move it back into the MD NOTES based on these rules and then it should be ok to start creating NOTES files for other architectures. Comments? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message