Date: Tue, 09 Apr 2002 14:34:46 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES Message-ID: <XFMail.20020409143446.jhb@FreeBSD.org> In-Reply-To: <200204091826.g39IQwp48087@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020409143446.jhb>