NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49688: ifconfig iwm0 up crashes the system
Please try again with kernel to enable debug log as follows patches.
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index f1180ba..4c3ec74 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -151,10 +151,11 @@ __KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.15
2015/02/25 12:41:15 nonaka Exp $");
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
+#define IWM_DEBUG
#ifdef IWM_DEBUG
#define DPRINTF(x) do { if (iwm_debug > 0) printf x; } while (0)
#define DPRINTFN(n, x) do { if (iwm_debug >= (n)) printf x; } while (0)
-int iwm_debug = 1;
+int iwm_debug = 12;
#else
#define DPRINTF(x) do { ; } while (0)
#define DPRINTFN(n, x) do { ; } while (0)
Regards,
--
NONAKA Kimihiro
Home |
Main Index |
Thread Index |
Old Index