From owner-freebsd-arch Wed Dec 19 0:37:10 2001 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E2AFE37B419 for ; Wed, 19 Dec 2001 00:37:07 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBJ8Uia20318; Wed, 19 Dec 2001 01:30:44 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBJ8UhM25504; Wed, 19 Dec 2001 01:30:43 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112190830.fBJ8UhM25504@harmony.village.org> To: Joerg Wunsch Subject: Re: cvs commit: src/sys/isa fd.c Cc: arch@freebsd.org In-reply-to: Your message of "Wed, 19 Dec 2001 09:02:56 +0100." <20011219090256.E97821@uriah.heep.sax.de> References: <20011219090256.E97821@uriah.heep.sax.de> <200112182253.fBIMrdM92149@harmony.village.org> Date: Wed, 19 Dec 2001 01:30:43 -0700 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20011219090256.E97821@uriah.heep.sax.de> Joerg Wunsch writes: : As Warner Losh wrote: : : > __i386__ is defined on both FreeBSD/i386 and FreeBSD/pc98. There's no : > unique symbole for FreeBSD/i386, so that should be : > : > #if defined(__i386__) && !defined(PC98) : : But that wouldn't exclude any further (hypothetical) architecture : using an IA32-class CPU. I still think we should make our _MACHINE : and MACHINE macros that are defined in work well : enough for cpp conditionals. I don't think we can fix them. There's no pc98/include/param.h. There's no pc98/include at all, but instead it uses the i386 ones. But we could add the right goo there. I don't think there will be another IA32 port ever. However, we could define something like PCAT for FreeBSD/i386. But that also is unsatisfying. I don't think that we can do the enumeration of all possible architectures well enough to make things work like you'd like. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message