Subject: Re: LKM versioning
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 04/16/2003 09:40:10
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;
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-