From owner-freebsd-current Tue Dec 18 15:20: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id E60D837B416; Tue, 18 Dec 2001 15:20:03 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id AAA01287; Wed, 19 Dec 2001 00:20:03 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fBIMuk001274; Tue, 18 Dec 2001 23:56:46 +0100 (MET) (envelope-from j) Date: Tue, 18 Dec 2001 23:56:46 +0100 (MET) Message-Id: <200112182256.fBIMuk001274@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20011218200918.A14073@sunbay.com> <20011218204720.B18124@sunbay.com> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: Recent fdc(4) commit broke Alpha kernels X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Cc: arch@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov wrote: > Oops sorry, that was Joerg. It's fixed now, although i'm still not convinces that using __i386__ is the right thing. If our defines several constants for _MACHINE_ARCH, they should all be distint for the various machines. As it seems now, all of them probably define the same or whatever, so we end up in _MACHINE_ARCH@i386 == _MACHINE_ARCH@alpha == _MACHINE_ARCH@IA64 etc. We could as well delete those lines from then since they are pretty useless in that case. And no, MACHINE_ARCH (without the leading underscore) cannot be used either since it defines a string constant that can't be used in a cpp conditional. Cc goes to arch@freebsd.org: what is the politically correct way to distinguish a PC-type architecture (in that case one that uses a PC-style RTC memory to store configuration information) from another architecture that uses IA32 CPUs (like PC98, although they aren't using /sys/isa/fd.c right now)? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message