pkgsrc/sysutils/aperture/patches/patch-af
jlam 45d1055ef1 Update aperture to 2.0nb1. This is now taken from the xfree86-4.0.2 sources,
but is virtually the same as the xfree86-3.3.6 one except some of the pkgsrc
changes were included.

* Add a bug fix for MTRR support on K6 processors, taken from OpenBSD.  This
  was apparently fixed in their tree in March 2000.

* The package Makefile now uses BSDSRCDIR to find the kernel sources instead
  of requiring a symlinks /sys --> kernel sources.

* Become the maintainer since I originally committed this package, and am
  upgrading it.
2001-01-17 23:57:52 +00:00

13 lines
379 B
Text

$NetBSD: patch-af,v 1.1 2001/01/17 23:57:53 jlam Exp $
--- module/k6_mem.c.orig Wed Jan 17 12:36:06 2001
+++ module/k6_mem.c
@@ -89,7 +89,7 @@
return EOPNOTSUPP;
for (bit = ffs(desc->mr_len >> 17) - 1; bit < 15; bit++)
- len |= 1 << (14 - bit);
+ len |= 1 << bit;
wc = (desc->mr_flags & MDF_WRITECOMBINE) ? 1 : 0;
uc = (desc->mr_flags & MDF_UNCACHEABLE) ? 1 : 0;