Re: 5.1 panics on a Challenge S
Jared McNeill <[email protected]> Wed, 16 Feb 2011 08:03:05 -0500 (EST)
| Newsgroups | gmane.os.netbsd.ports.sgimips |
|---|---|
| Message-ID | <alpine.NEB.2.00.1102160800520.3417@localhost> |
On Tue, 15 Feb 2011, George Harvey wrote:
> The panel code seems to be getting a -1 irq level from the pi1ppc table
> entry but I can't work out how that is happening.
Try changing pi1ppc_match to:
static int
pi1ppc_match(device_t parent, cfdata_t match, void *aux)
{
struct hpc_attach_args *haa = aux;
if (strcmp(ha->ha_name, match->cf_name))
return 0;
if (mach_type == MACH_SGI_IP22)
return 1;
return 0;
}