Re: machdep.c: #if NPC > 0, but not #include "pc.h"
Allen Briggs <[email protected]> Mon, 9 Feb 2004 13:42:28 -0500
| Newsgroups | gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.sandpoint |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 09, 2004 at 06:33:39PM +0000, Ben Harris wrote: > > > Is it OK for me to simplify pckbc_machdep_cnattach() appropriately? > > > > What do you propose for simplification? > > To blow away the #ifdef so it always returns ENXIO initially. My > longer-term plan is to add "#define __HAVE_PCKBC_MACHDEP_CNATTACH" to the > few ports that have interesting implementations of > pckbc_machdep_cnattach(), and to remove the function on all the rest > (which would then include sandpoint). Oh, and probably to rename it to > pckbport_machdep_cnattach() somewhere along the way. That sounds good to me. Go for it. -allen -- Allen Briggs [email protected] Wasabi Systems, Inc. http://www.wasabisystems.com/