Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: isapnp probe is slow



On Sat, 29 Mar 2008 21:19:27 -0400
"Jared D. McNeill" <jmcneill%invisible.ca@localhost> wrote:

> Andrew Doran wrote:
> > On Sat, Mar 29, 2008 at 06:12:09PM +0000, Andrew Doran wrote:
> > 
> >> The isapnp probe on boot is really slow. I suspect that isapnp is not
> >> relevant for systems made in the last 5 years, because ISA and EISA went
> >> the way of the dodo. Is isapnp necessary for any modern hardware?
> >>
> >> Would disabling isapnp based on the age of the system make sense?
> >> Alternatively, what other ways are there to speed it up?
> > 
> > Thought of a another way: if the machine has SMBIOS, and SMBIOS says that
> > it doesn't contain any ISA/EISA slots, then don't run the isapnp probe.
> 
> That's a very nice idea. pmf on x86 has the ability to set this flag 
> (cf. arch/x86/x86/platform.c), which the isapnp driver could lookup in 
> its match function.

Agreed, I'd like to see this suggestion in code.

-- 
Juan Romero Pardines - xtraeme at gmail|netbsd dot org
        The NetBSD Project

Make your own NetBSD/x86 Live CD
http://www.netbsd.org/~xtraeme/mklivecd/


Home | Main Index | Thread Index | Old Index