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 ([EMAIL PROTECTED], [EMAIL PROTECTED]) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message