From owner-freebsd-x11@FreeBSD.ORG Mon May 31 08:26:21 2010 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346331065677 for ; Mon, 31 May 2010 08:26:21 +0000 (UTC) (envelope-from prvs=176095df4f=brian@FreeBSD.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id EA7708FC19 for ; Mon, 31 May 2010 08:26:20 +0000 (UTC) Received: from pd3ml2so-ssvc.prod.shaw.ca ([10.0.141.138]) by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 31 May 2010 02:11:18 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=2caWB_DcjroA:10 a=VphdPIyG4kEA:10 a=MJPcHhXccCG8eBs0us8XwA==:17 a=MMwg4So0AAAA:8 a=6I5d2MoRAAAA:8 a=Ecg_z7cyNYU5ojlqct4A:9 a=ycXSXU5-txpib90Wz5I36YeMIbYA:4 a=CjuIK1q_8ugA:10 a=WJ3hkfHDukgA:10 a=SV7veod9ZcQA:10 a=0ITHVWccYnSoUnUTKlwA:9 a=HRt-OC3RC-WotneJAIH900ivdCYA:4 Received: from unknown (HELO store.lan.Awfulhak.org) ([70.79.162.198]) by pd3ml2so-dmz.prod.shaw.ca with ESMTP; 31 May 2010 02:11:18 -0600 Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 0744DC433B1_C036F26B for ; Mon, 31 May 2010 08:11:18 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Sophos Email Appliance) with ESMTP id CE7E6C460F9_C036F25F for ; Mon, 31 May 2010 08:11:17 +0000 (GMT) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.14.4/8.14.4) with ESMTP id o4V8BH3t077444; Mon, 31 May 2010 01:11:17 -0700 (PDT) (envelope-from brian@FreeBSD.org) Date: Mon, 31 May 2010 01:11:11 -0700 From: Brian Somers To: x11@FreeBSD.org Message-ID: <20100531011111.22064479@dev.lan.Awfulhak.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/VRqPALijTfo4IMwk9BcYi5D"; protocol="application/pgp-signature" Cc: Subject: xf86-video-mga patch X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 08:26:21 -0000 --Sig_/VRqPALijTfo4IMwk9BcYi5D Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, Since upgrading to xorg-7.5 (on -current) my dual-head matrox g450 configur= ation has broken with the following error: "MGA(0): Unable to map BAR 0. Invalid argument (22)" This is talked about on various forums and can be fixed with the attached p= atch. This patch is a (slightly) modified version of "mga-driver-3.patch" which w= as against the 1.4.9-r1 version of the mga driver. There is a "mga-driver-4.patch" av= ailable that is against the 1.4.11 version of the mga driver (which we have in the ports= tree), but it doesn't build on FreeBSD. As my patch works, I'd like to submit it to t= he tree pending any updates from xorg. You can read more about these patches by googling t= he above error message. BTW, I chose not to merge it with the other mga_driver.c patch as it's easi= er to pull if and when the xorg folks produce an official fix. So is it ok to submit this as "patch-mga-driver-3"? Thanks. --=20 Brian Somers Don't _EVER_ lose your sense of humour ! --Sig_/VRqPALijTfo4IMwk9BcYi5D Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQCVAwUBTANvJQ7tvOdmanQhAQIYcAP7BNR98gfB89uultxJ2uhssbljwuV80F6V KsBWOxh81VP8tjYYfeG0bQvy0KtPX6E7BorAl0FIm8YR3WjqWcPI6ttpIfohCcZV 15zURKWfIvrYhoIfMRK/mQFrUSrxPNQ9QGaYKwNfekdaHN17dRURNTtU43CBAcey 0OT2LGXGPo8= =b3l5 -----END PGP SIGNATURE----- --Sig_/VRqPALijTfo4IMwk9BcYi5D--