diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-03-28 17:17:32 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-03-28 17:17:32 +0000 |
commit | 45b79f9effb151849b5c1a47c4774c96dd72d1d4 (patch) | |
tree | 4ae445078221d7448e8ca856848e583df2dd88ac /sys/powerpc | |
parent | b8861cbb49eac077b29627ed0e021931133b7e21 (diff) | |
download | FreeBSD-src-45b79f9effb151849b5c1a47c4774c96dd72d1d4.zip FreeBSD-src-45b79f9effb151849b5c1a47c4774c96dd72d1d4.tar.gz |
Set hw.ofwfb.relax_mmap=1 by default. While these checks may be a good
idea in principle, X does not work without them on basically any hardware,
and this is probably the most frequent problem people run into on PowerPC.
Prodded by: rnoland
MFC after: 1 week
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/ofw/ofw_syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/ofw/ofw_syscons.c b/sys/powerpc/ofw/ofw_syscons.c index 56d0ca8..d85cee5 100644 --- a/sys/powerpc/ofw/ofw_syscons.c +++ b/sys/powerpc/ofw/ofw_syscons.c @@ -55,10 +55,10 @@ __FBSDID("$FreeBSD$"); #include <dev/ofw/ofw_pci.h> #include <powerpc/ofw/ofw_syscons.h> -static int ofwfb_ignore_mmap_checks; +static int ofwfb_ignore_mmap_checks = 1; SYSCTL_NODE(_hw, OID_AUTO, ofwfb, CTLFLAG_RD, 0, "ofwfb"); SYSCTL_INT(_hw_ofwfb, OID_AUTO, relax_mmap, CTLFLAG_RW, - &ofwfb_ignore_mmap_checks, 0, "relax mmap bounds checking"); + &ofwfb_ignore_mmap_checks, 0, "relaxed mmap bounds checking"); extern u_char dflt_font_16[]; extern u_char dflt_font_14[]; |