Subject: Re: -current hangs during config
To: Allen Briggs <briggs@puma.macbsd.com>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: port-mac68k
Date: 03/28/1997 17:39:41
The attached patch did _not_ fix the problem. When I boot, it probes the
nubus, finds macvid0 (in slot 0x0d), attaches grf0 to macvid0, attaches
ite0 to grf0, then finds my unsupported card (frame-grabber if it matters)
in slot 0x0e. It reports that the card is unsupported, and then hangs.
Using the nmi switch, a trace shows that it was in rbv_intr(), called from
lev2intr(), called from config_attach(), ... (I didn't write down all the
other stuff...)
Any more suggestions? :)
On Thu, 27 Mar 1997, Allen Briggs wrote:
> Yes. Scott integrated a change that I suggested--it is more reasonable
> than either the pre-existing code or the MAC68K_BROKEN_VIDEO code. The
> following patch fixes an oversight in my change:
>
>
> Index: via.c
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/mac68k/mac68k/via.c,v
> retrieving revision 1.59
> diff -u -r1.59 via.c
> --- via.c 1997/03/15 18:33:48 1.59
> +++ via.c 1997/03/27 14:59:37
> @@ -325,7 +325,7 @@
> void
> enable_nubus_intr()
> {
> - if (nubus_intr_mask == 0)
> + if ((nubus_intr_mask & 0x3f) == 0)
> return;
>
> if (VIA2 == VIA2OFF)
>
> Can you try this out, Paul, and let me know if it works?
>
> Thanks,
> -allen
>
> --
> Allen Briggs - end killing - briggs@macbsd.com
>
------------------------------------------------------------------------------
| Paul Goyette | PGP Public Key fingerprint: | E-mail addresses: |
| Network Consultant | 0E 40 D2 FC 2A 13 74 A0 | paul@pgoyette.bdt.com |
| and kernel hacker | E4 69 D5 BE 65 E4 56 C6 | paul_goyette@ins.com |
------------------------------------------------------------------------------