Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/pci rescan amdsmnbus instead of amdsmn (fixes p...



details:   https://anonhg.NetBSD.org/src/rev/a9de67e41ae1
branches:  trunk
changeset: 829372:a9de67e41ae1
user:      kardel <kardel%NetBSD.org@localhost>
date:      Sat Jan 27 21:24:30 2018 +0000

description:
rescan amdsmnbus instead of amdsmn (fixes panic)

diffstat:

 sys/arch/x86/pci/amdsmn.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a70f9b6b9be8 -r a9de67e41ae1 sys/arch/x86/pci/amdsmn.c
--- a/sys/arch/x86/pci/amdsmn.c Sat Jan 27 18:59:38 2018 +0000
+++ b/sys/arch/x86/pci/amdsmn.c Sat Jan 27 21:24:30 2018 +0000
@@ -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 <cem%FreeBSD.org@localhost>
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index