From owner-cvs-all Sat Sep 7 1: 4:59 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 320E437B400; Sat, 7 Sep 2002 01:04:54 -0700 (PDT) Date: Sat, 7 Sep 2002 01:04:54 -0700 From: Juli Mallett To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options.i386 options.pc98 src/sys/i386/conf NOTES src/sys/i386/i386 initcpu.c machdep.c src/sys/i386/isa npx.c src/sys/i386/linux linux_ptrace.c src/sys/pc98/i386 machdep.c Message-ID: <20020907010454.A63704@FreeBSD.org> References: <200209070702.g8772CM0025706@freefall.freebsd.org> <20020907072825.A50E92A7D6@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020907072825.A50E92A7D6@canning.wemm.org>; from peter@wemm.org on Sat, Sep 07, 2002 at 12:28:25AM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Peter Wemm [ Data: 2002-09-07 ] [ Subjecte: Re: cvs commit: src/sys/conf options.i386 options.pc98 src/sys/i386/conf NOTES src/sys/i386/i386 initcpu.c machdep.c src/sys/i386/isa npx.c src/sys/i386/linux linux_ptrace.c src/sys/pc98/ > I've been trying to figure out the right syntax for negative options. > > I'd have rathered have a common definitions file that had a list of default > options and then disable them in per-system configurations. eg: instead > of > options CPU_DISABLE_SSE > have something like this instead: > disable CPU_ENABLE_SSE > options -CPU_ENABLE_SSE > noopt CPU_DISABLE_SSE > -option CPU_DISABLE_SSE > or something. I just cannot quite think of something I like. > enable/disable might make sense if we had an 'enable' keyword. > eg: "enable ACPI_DEBUG" instead of "options ACPI_DEBUG" etc. OSF (and BSD Lites) used to allow the config to be done in the style of 'options FOO+BAR-baz' and such, so it seems to me that the -CPU_ENABLE_SSE way would fit in best with the few config(8) type systems that implemented this. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message