Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 1998 22:00:11 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/pci pcisupport.c
Message-ID:  <199807070500.WAA12480@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807070500.WAA12480>