Subject: Re: CFR: The Auto-Generation Block/Character Device Switch Tables
To: Bill Studenmund <wrstuden@netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 05/09/2002 20:34:52
Bill Studenmund wrote:
> On Thu, 9 May 2002, MAEKAWA Masahide wrote:
>
> > Here is a proposal for a framework to support the auto-generation of
> > block/character device switch tables by config(8).
>
> Overall, looks good. Comments where I think they're needed. :-)
>
> > The Auto-Generation Block/Character Device Switch Tables by config(8)
> >
> >
> > 1. Background
> >
> > It is too painful to maintain port-dependent conf.c, conf.h and sys/conf.h.
>
> Well, not "too" painful because we do it now. But especially for all of
> our ports, it is a real pain.
As someone who has added a fair number of drivers I can say: IT''S TOO PAINFUL!
I'm all for an automated approach.
-- Lennart