Date: Tue, 18 Dec 2001 23:56:46 +0100 (MET) From: j@uriah.heep.sax.de (Joerg Wunsch) To: freebsd-current@freebsd.org Cc: arch@freebsd.org Subject: Re: Recent fdc(4) commit broke Alpha kernels Message-ID: <200112182256.fBIMuk001274@uriah.heep.sax.de> References: <20011218200918.A14073@sunbay.com> <XFMail.011218103539.jhb@FreeBSD.org> <20011218204720.B18124@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.ORG> 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 <machine/param.h> 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 <machine/param.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112182256.fBIMuk001274>