Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 11:37:14 -0700
From:      Matthew Jacob <mjacob@feral.com>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Eivind Eklund <eivind@yes.no>, "Justin T. Gibbs" <gibbs@plutotech.com>, "Jordan K. Hubbard" <jkh@FreeBSD.ORG>, 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
Message-ID:  <3564745A.75ABCF5C@feral.com>
References:  <27764.895775475@time.cdrom.com>

index | next in thread | previous in thread | raw e-mail

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?


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3564745A.75ABCF5C>