tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compat kernel modules and GENERIC



Should 'options COMPAT_xx' really be commented out in the GENERIC kernel
configuration?

In -current, code for compatibility with NetBSD 5.0 is divided
between #ifdef-COMPAT_50 code and a compatibility kernel module
(sys/compat/common/*_50.c).

It looks to me like 3.0 compatibility is likewise divided between both
some #ifdef-COMPAT_30 code (see sys/dev/vnd.c) and a module.

As a consequence, one needs both 'options COMPAT_xx' and a compatibility
kernel module to support old kernel ABIs.

Developers foresee that we will move all of the compatibility that
remains #ifdef'd into the kernel modules.  In the mean time, it seems to
me that 'options COMPAT_xx' should not be commented out in the GENERIC
kernel configuration for i386.  Or is there something that I am missing?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index