From owner-freebsd-current Sat Nov 9 5:40:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DECF237B401 for ; Sat, 9 Nov 2002 05:40:42 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id B271343E42 for ; Sat, 9 Nov 2002 05:40:41 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gA9DeM5N048457; Sat, 9 Nov 2002 08:40:22 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gA9DeL1u048456; Sat, 9 Nov 2002 08:40:21 -0500 (EST) (envelope-from hiten) Date: Sat, 9 Nov 2002 08:40:21 -0500 From: Hiten Pandya To: Brooks Davis Cc: "Matthew N. Dodd" , Terry Lambert , freebsd-current@FreeBSD.ORG Subject: Re: Will official-NVIDIA-driver for 4.7 work with -CURRENT ? Message-ID: <20021109084021.A40758@angelica.unixdaemons.com> References: <3DCC3CC0.5DE547CC@mindspring.com> <20021108174356.L35807-100000@sasami.jurai.net> <20021108220909.A85237@angelica.unixdaemons.com> <20021108192132.A14837@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021108192132.A14837@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Fri, Nov 08, 2002 at 07:21:32PM -0800 X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 08, 2002 at 07:21:32PM -0800, Brooks Davis wrote the words in effect of: > On Fri, Nov 08, 2002 at 10:09:10PM -0500, Hiten Pandya wrote: > > P.S. hw.pci should moved somewhere global, but donno how this can be > > done or even if it is possible to do. > > I think you just need a SYSCTL_DECL(_hw_pci) in scope. Thanks! I added SYSCTL_DECL(_hw_pci), and then uncommented out the sysctl bits. Now it works fine. But I have a question, should I put SYSCTL_DECL(_hw_pci) in some sort of header file? Anyway, patch at: http://www.unixdaemons.com/~hiten/work/diffs/pci_pci.patch I have not attached it, because I just asked a question, and if I do have to put it in a header file, then it would just be worthless having a patch in this mail. Cheers. -- Hiten Pandya hiten@unixdaemons.com, hiten@uk.FreeBSD.org, hiten@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message