Subject: NATM broken: atm needs-flag vs options NATM
To: None <current-users@NetBSD.ORG>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 07/05/1998 13:09:58
hi all,

While working on defopt'ing I noticed a buget with ATM options.  The
kernel code that handles native-ATM stack (e.g., for soft interrupts)
uses
      #ifdef NATM

which looks like a test for "options NATM" (native ATM networking
stack, with NATM defined if enabled and undefined if not enabled.

But that conflicts with the "atm needs-flag" in sys/conf/files, which
produces "atm.h" in the kernelbuild directory.  NATM is _always_
defined in atm.h , as 1 or 0 to indicate configured or not-configured,
respectively.

Is it safe to just delete the "needs-flag" from net/if_atmsubr.c?