NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-i386/49602: kernel panic with fpa on NetBSD-7.0_BETA i386
The following reply was made to PR port-i386/49602; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-i386/49602: kernel panic with fpa on NetBSD-7.0_BETA i386
Date: Sun, 25 Jan 2015 08:35:43 +0100
If you can compile a kernel localy, could you try if the patch below is
enough to fix it?
Thanks,
Martin
Index: if_fpa.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_fpa.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- if_fpa.c 29 Mar 2014 19:28:24 -0000 1.59
+++ if_fpa.c 25 Jan 2015 07:33:24 -0000 1.60
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $ */
+/* $NetBSD: if_fpa.c,v 1.60 2015/01/25 07:33:24 martin Exp $ */
/*-
* Copyright (c) 1995, 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.60 2015/01/25 07:33:24 martin Exp $");
#ifdef __NetBSD__
#include "opt_inet.h"
@@ -410,6 +410,8 @@
aprint_naive(": FDDI controller\n");
+ sc->sc_dev = self;
+
data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CFLT);
if ((data & 0xFF00) < (DEFPA_LATENCY << 8)) {
data &= ~0xFF00;
Home |
Main Index |
Thread Index |
Old Index