Subject: Re: uvm_fault with 1-9-2002 sources
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Brian Stark <bpstark@pacbell.net>
List: current-users
Date: 01/10/2002 17:39:41
Jaromir Dolecek wrote:

> Well, following should be "right" fix (not tried if it compiles,
> it should). Of course, what the code is trying
> to do is not particularily clean.
> 
> Jaromir
> 
> --- sb_isa.c.orig       Thu Jan 10 15:53:37 2002
> +++ sb_isa.c    Thu Jan 10 15:53:52 2002
> @@ -98,6 +98,7 @@ sb_isa_match(parent, match, aux)
> 
>         memset(sc, 0, sizeof *sc);
>         strcpy(sc->sc_dev.dv_xname, "sb");
> +       sc->sc_dev.dv_cfdata = match;
>         return sbfind(parent, sc, 1, aux);
>  }

Hi Jaromir,

Your fix works. I added your recommended change to my copy of version 1.25 of 
sb_isa.c (which is the latest version as of 1-7-2002) and the kernel now 
successully boots.

IMHO, I recommend your change be checked in.

Thanks for the quick fix!

Regards,

Brian Stark
bpstark at pacbell dot net