From owner-cvs-sys Mon Jul 6 22:01:02 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23019 for cvs-sys-outgoing; Mon, 6 Jul 1998 22:01:02 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22917; Mon, 6 Jul 1998 22:00:23 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA12480; Mon, 6 Jul 1998 22:00:11 -0700 (PDT) Date: Mon, 6 Jul 1998 22:00:11 -0700 (PDT) Message-Id: <199807070500.WAA12480@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci pcisupport.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/06 22:00:11 PDT Modified files: sys/pci pcisupport.c Log: Changed `#if defined(i386)' to `#ifdef __i386__'. `#if defined(ONE_THING)' is a style bug, and i386 instead of __i386__ is a bug, since i386 is never defined when the kernel is compiled by with the default flags (`gcc -ansi ...'). Here the bug disabled the call to pmap_setvidram(), so ISA video memory was not mapped WC on 686's. The bug may have been masked by bugs in the committer's version of gcc - `gcc -ansi' incorrectly defines i386 for gcc = the version of egcs on the 2.2.6 cdrom. Revision Changes Path 1.71 +2 -2 src/sys/pci/pcisupport.c