From owner-cvs-sys Thu May 21 11:38:28 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00405 for cvs-sys-outgoing; Thu, 21 May 1998 11:38:28 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from ns.mauswerks.net (root@ns.mauswerks.com [204.152.96.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29902; Thu, 21 May 1998 11:37:21 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from feral.com (root@[209.54.254.2]) by ns.mauswerks.net (8.8.0/8.6.9) with ESMTP id LAA07887; Thu, 21 May 1998 11:39:27 -0700 Received: from feral-gw (mjacob@gw100.feral.com [192.67.166.129]) by feral.com (8.8.6/8.8.6) with SMTP id LAA01553; Thu, 21 May 1998 11:37:14 -0700 Message-ID: <3564745A.75ABCF5C@feral.com> Date: Thu, 21 May 1998 11:37:14 -0700 From: Matthew Jacob Organization: Feral Software X-Mailer: Mozilla 3.04 (X11; I; Linux 2.0.33 i586) MIME-Version: 1.0 To: "Jordan K. Hubbard" CC: Eivind Eklund , "Justin T. Gibbs" , "Jordan K. Hubbard" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_tl.c if_tlreg.h References: <27764.895775475@time.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Okay- off the top of my head while I'm out the door for a week in Ohio: A) Create a new file, sys/osversion.h. Have it contain: #define FreeBSD_OS_MAJOR N # N is 1..N #define FreeBSD_OS_MINOR M # M is 1..M #define FreeBSD_OS_MICRO K # K is 1..M #define FreeBSD_OS_Version \ (FreeBSD_OS_MAJOR<<16|FreeBSD_OS_Minor<<8|FreeBSD_OS_Micro) A') Have a FreeBSD_OS_NANO if you'd like... you get the idea. B) Include this from sys/param.h, protected by _KERNEL. Or, you pick how it gets into all kernel files. C) Integrate this into 3.0 && 2.2.X. With the approprate settings. D) Only FreeBSD release engineering can update and change this file. E) Document this in a section 9 (is thers such in FreeBSD_ I have all my FreeBSD machines down 'coz I'm, like, out the door for a week) so that developers may depend upon this. ------------- So- is this stupid? What have I missed? I'm sorry if I didn't get something, but it seems to be something really useful to have, and, yes, I've claimed that this should work. If not, how come?