Subject: Re: Typo in fd.c ?
To: Martin Husemann <martin@duskware.de>
From: john heasley <heas@shrubbery.net>
List: port-sparc
Date: 08/30/2006 22:51:42
Tue, Aug 29, 2006 at 03:13:21PM +0200, Martin Husemann:
> This is a typo, right?

Appears so.  sun4m is straight forward.  sun4 and sun4c use a different
variable, IE_L4 (which is equal), so the end result is the same.

> Martin
> 
> Index: fd.c
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/sparc/dev/fd.c,v
> retrieving revision 1.126
> diff -u -p -r1.126 fd.c
> --- fd.c	14 Apr 2006 13:09:05 -0000	1.126
> +++ fd.c	29 Aug 2006 13:12:20 -0000
> @@ -652,7 +652,7 @@ fdcattach(struct fdc_softc *fdc, int pri
>  		return (-1);
>  	}
>  
> -	fdc->sc_sicookie = softintr_establish(IPL_BIO, fdcswintr, fdc);
> +	fdc->sc_sicookie = softintr_establish(IPL_SOFTFDC, fdcswintr, fdc);
>  	if (fdc->sc_sicookie == NULL) {
>  		printf("\n%s: cannot register soft interrupt handler\n",
>  			fdc->sc_dev.dv_xname);