Author: nwhitehorn Date: Sun Mar 28 17:17:32 2010 New Revision: 205795 URL: http://svn.freebsd.org/changeset/base/205795
Log: 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 Modified: head/sys/powerpc/ofw/ofw_syscons.c Modified: head/sys/powerpc/ofw/ofw_syscons.c ============================================================================== --- head/sys/powerpc/ofw/ofw_syscons.c Sun Mar 28 13:40:13 2010 (r205794) +++ head/sys/powerpc/ofw/ofw_syscons.c Sun Mar 28 17:17:32 2010 (r205795) @@ -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[]; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"