Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 05:41:17 -0500
From:      Hiten Pandya <hiten@angelica.unixdaemons.com>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        "Matthew N. Dodd" <winter@jurai.net>, Terry Lambert <tlambert2@mindspring.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: Will official-NVIDIA-driver for 4.7 work with -CURRENT ?
Message-ID:  <20021113054117.A19848@angelica.unixdaemons.com>
In-Reply-To: <20021109084021.A40758@angelica.unixdaemons.com>; from hiten@angelica.unixdaemons.com on Sat, Nov 09, 2002 at 08:40:21AM -0500
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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