Subject: Re: LKM's and NetBSD kernels.
To: Jason Thorpe <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 06/10/1996 20:06:48
[ On Mon, June 10, 1996 at 16:33:12 (-0700), Jason Thorpe wrote: ]
> Subject: Re: LKM's and NetBSD kernels.
I had been testing against the value of NetBSD (from <sys/param.h>) in
my #ifdefs, not NetBSD?_?.
> I'll let JT comment further on when the NetBSD1_2 symbol will change to 1.
Which reminds me. How is a LKM supposed to check this?
I had assumed the current version symbol would be stored in a static
variable somewhere, but I find instead LKM_VERSION, which isn't related
at all (and in kern_lkm.c seems to be the only value passed to the
module for comparison on startup).
This kernel release management is still a bit primitive and very hairy! ;-)
Greg A. Woods
+1 416 443-1734 VE3TCP robohack!woods
Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>