Module Name: src
Committed By: kardel
Date: Sat Jan 27 21:24:30 UTC 2018
Modified Files:
src/sys/arch/x86/pci: amdsmn.c
Log Message:
rescan amdsmnbus instead of amdsmn (fixes panic)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/pci/amdsmn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/pci/amdsmn.c
diff -u src/sys/arch/x86/pci/amdsmn.c:1.2 src/sys/arch/x86/pci/amdsmn.c:1.3
--- src/sys/arch/x86/pci/amdsmn.c:1.2 Thu Jan 25 23:37:33 2018
+++ src/sys/arch/x86/pci/amdsmn.c Sat Jan 27 21:24:30 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: amdsmn.c,v 1.2 2018/01/25 23:37:33 pgoyette Exp $ */
+/* $NetBSD: amdsmn.c,v 1.3 2018/01/27 21:24:30 kardel Exp $ */
/*-
* Copyright (c) 2017 Conrad Meyer <[email protected]>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.2 2018/01/25 23:37:33 pgoyette Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.3 2018/01/27 21:24:30 kardel Exp $ ");
/*
* Driver for the AMD Family 17h CPU System Management Network.
@@ -101,7 +101,7 @@ amdsmn_attach(device_t parent, device_t
sc->pc = pa->pa_pc;
sc->pcitag = pa->pa_tag;
aprint_normal(": AMD Family 17h System Management Network\n");
- amdsmn_rescan(self, "amdsmn", &flags);
+ amdsmn_rescan(self, "amdsmnbus", &flags);
}
static int