Subject: Re: Refactoring MI devices in GENERIC and friends
To: Allen Briggs <briggs@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 09/09/2007 17:32:09
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 9, 2007, at 16:43, Allen Briggs wrote:

> On Sat, Sep 08, 2007 at 05:37:45PM -0400, Michael Lorenz wrote:
>> assuming if it's not in GENERIC it's not there is a mistake, it would
>> just indicate that the drivers in question likely haven't been tested
>> on those platforms.
>
> This is a bigger point that you might imagine...
> I found when working on PowerPC and ARM systems that drivers that have 
> not been used on
> sparc/macppc/alpha/etc., probably don't work on other architectures.

Yeah, it's kind of a gamble - some Just Work, others don't even 
compile. At least compiling on LP64 does catch a few problems.

> None of the problems that I saw would be caught by a compile--only by
> trying to use the hardware.  I don't have a real problem with including
> devices in a compile, but making the leap to "supported" or "expected
> to run" would be unconscionable.

True. So we should probably have an ALL that contains everything and 
leave in GENERIC what's known working?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRuRmWspnzkX8Yg2nAQLrzgf/QuWsDeAVA8cwmlW30xccgzG5k/gpsE/N
0KB5IOq2w6Xdc3NheuawmzEEJyWvTMqyYiodiAPjUvza1dfHEbJEdvBUe0WuU+b9
QFG2lhtXNDhFuPoNLlIu6PwbGykAAuhBBVCLMh3YwNa3gSm/vv0QlKfGRGZCFufk
cS6Er2kybr5UK6YfNjONzg0mXWR/Kr2GFIsh3vn4a9YHYbUuiYC3Mn7OESWBf6uY
0xaZbJfcZkKFoYQkOYL1msbJKU2+2DPWjpAtj5zJP36pjgVckbuLb2+QWLt1JR0Z
yspLRmjWeHFRJ0WN9bm5xifzxQGOo3UNextLRGpYPVnpCL6Yugd4JQ==
=HwlE
-----END PGP SIGNATURE-----