Subject: Re: LKM versioning
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 04/16/2003 11:50:38
On Wed, 16 Apr 2003, Jaromir Dolecek wrote:

> Bill Studenmund wrote:
> > Please at least keep the LKM version info format (the LKM version now)
> > separate from what ever else is there. That way we can change it easily
> > later if we choose to. Please also don't use the adding-constants-to-
> > the-kernel-version-number scheme, as it won't scale.
>
> Yes, I plan to use three version numbers in the check in DISPATCH(),
> LKM_VERSION, __NetBSD_Version__ and 'environment' version, something along:
>
> 	if (lkm_checkver(LKM_VERSION, __NetBSD_Version__, LKM_ENV_VERSION()))
> 		return EPROGMISMATCH;

Excelent. Oh, this might be reason to bump the LKM version. :-)

Take care,

Bill