From owner-freebsd-current Wed Nov 13 2:41:51 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 A95A337B401 for ; Wed, 13 Nov 2002 02:41:49 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC9143E77 for ; Wed, 13 Nov 2002 02:41:46 -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 gADAfO06020167; Wed, 13 Nov 2002 05:41:24 -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 gADAfHWY020148; Wed, 13 Nov 2002 05:41:17 -0500 (EST) (envelope-from hiten) Date: Wed, 13 Nov 2002 05:41:17 -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: <20021113054117.A19848@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> <20021109084021.A40758@angelica.unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021109084021.A40758@angelica.unixdaemons.com>; from hiten@angelica.unixdaemons.com on Sat, Nov 09, 2002 at 08:40:21AM -0500 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 Sat, Nov 09, 2002 at 08:40:21AM -0500, Hiten Pandya wrote the words in effect of: > 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. Hi there. As requested some people, the patch has been committed, and no behaviours have changed, except that PCI_ALLOW_UNSUPPORTED_IO_RANGE kernel configuration option has been nuked. A loader tunable, hw.pci.allow_unsupported_io_range is available. It is set to 0 by default, and a sysctl is provided to show the readonly value. The above patch was committed, with a few other changes, by Matthew (mdodd). Cheers. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message