Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2003 15:02:04 -0700
From:      Evan Dower <evantd@cs.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56159: [patch] x11/nvidia-driver build broken
Message-ID:  <1062194524.52765.8.camel@localhost>
Resent-Message-ID: <200308292210.h7TMAGJl074264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56159
>Category:       ports
>Synopsis:       [patch] x11/nvidia-driver build broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 15:10:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Evan Dower
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD lojak.washington.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #0:
Fri Aug 29 05:38:24 PDT 2003
root@lojak.washington.edu:/usr/obj/usr/current/src/sys/CUSTOM i386


	<machine, os, target, libraries (multiple lines)>
>Description:
	Recent change to dev/pci/pcireg.h changed PCIR_HEADERTYPE to
PCIR_HDRTYPE. nvidia driver needs to know this. The included patch makes
this change, but the Makefile will need to be updated because kernels
older than Thu Aug 28 21:22:25 2003 UTC still call it PCIR_HEADERTYPE.
<precise description of the problem (multiple lines)>
>How-To-Repeat:
	Build nvidia-driver on -current from after Thu Aug 28 21:22:25 2003 UTC
<code/input/activities to reproduce the problem (multiple lines)>
>Fix:

	<how to correct or work around the problem, if known (multiple lines)>

--- patch-src:nvidia_sysctl.c begins here ---
--- src/nvidia_sysctl.c.orig	Fri Aug 29 14:00:58 2003
+++ src/nvidia_sysctl.c	Fri Aug 29 14:02:16 2003
@@ -231,7 +231,7 @@
                  * It also doesn't make sense to to iterate over
multiple
                  * functions if this isn't a multi-function device.
                  */
-                hdrtype =3D pci_read_config(dev, PCIR_HEADERTYPE, 1);
+                hdrtype =3D pci_read_config(dev, PCIR_HDRTYPE, 1);
=20
                 if ((hdrtype & PCIM_MFDEV) =3D=3D 0)
                     break;
--- patch-src:nvidia_sysctl.c ends here ---




--=-E1d7QLmt2Ysmty/yZjqE
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/T81cfRVaTwM/iH0RAlJiAKCz+TyeiS6nT+ImSKf93a2yaFxgDgCfdw50
EMxdm4NGSo+DzFvUYHS4y3I=
=Bcnf
-----END PGP SIGNATURE-----

--=-E1d7QLmt2Ysmty/yZjqE--

>Release-Note:
>Audit-Trail:
>Unformatted:
 --=-E1d7QLmt2Ysmty/yZjqE
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 



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