Subject: Re: GENERIC and ALPHA configurations
To: Pavel Cahyna <pavel@netbsd.org>
From: Tobias Nygren <tnn+nbsd@nygren.pp.se>
List: port-alpha
Date: 09/28/2006 16:43:02
Pavel Cahyna wrote:
> Hello,
>
> there are GENERIC and ALPHA configurations in sys/arch/alpha/conf. A
> comment in GENERIC says:
>
> "The generic kernel on NetBSD/alpha does enough to get booted, etc., but
> not much more.  For a more complete kernel see the ALPHA machine
> description file."
>
> and
>
> "If you add stuff to this, please add it to the ALPHA configuration, too."
>
> This seem strange. Shouldn't GENERIC itself be a reasonably complete
> kernel?
>
> Also, the request to add stuff to ALPHA was ignored several times, leading
> to a situation whre ALPHA is no longer a superset of GENERIC.
>
> Could I just merge the two and remove ALPHA?
>
> Pavel
>   
I too find the ALPHA configuration redundant. Just another
file to maintain...
In my opinion it would be nice if drivers are tested
on the platform before they are enabled in GENERIC.
Maybe you can merge the configs and leave untested
drivers commented out?

Btw, I'm using a GENERIC with these drivers added.
(They aren't even in the ALPHA configuration...)

wm*    at      pci? dev ? function ?           # Intel 8254x gigabit
makphy* at mii? phy ?

puc*   at pci? dev ? function ?
com*    at puc? port ?
lpt*    at puc? port ?

uplcom* at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
ucom*   at uplcom? portno ?