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 provide an intermediate "bus" for the modul...



details:   https://anonhg.NetBSD.org/src/rev/3ae48556664f
branches:  trunk
changeset: 829353:3ae48556664f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 27 00:21:41 2018 +0000

description:
provide an intermediate "bus" for the module and to be the same structure
like amdtemp

diffstat:

 sys/arch/x86/pci/files.pci |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 552a2f622e70 -r 3ae48556664f sys/arch/x86/pci/files.pci
--- a/sys/arch/x86/pci/files.pci        Sat Jan 27 00:00:26 2018 +0000
+++ b/sys/arch/x86/pci/files.pci        Sat Jan 27 00:21:41 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pci,v 1.22 2018/01/25 01:22:21 christos Exp $
+#      $NetBSD: files.pci,v 1.23 2018/01/27 00:21:41 christos Exp $
 
 device         aapic
 attach         aapic at pci
@@ -10,6 +10,7 @@
 defflag        AGP_X86
 
 define amdnb_miscbus {}
+define amdsmnbus {}
 
 # PCI-Host bridge chipsets
 device pchb:   pcibus, agpbus, agp_x86
@@ -36,13 +37,13 @@
 file   arch/x86/pci/amdnb_misc.c       amdnb_misc
  
 # AMD Family 17h system management network
-device amdsmn {}
+device amdsmn: amdsmnbus
 attach amdsmn at pci
 file arch/x86/pci/amdsmn.c             amdsmn
 
 # AMD Family 17h CPU temp sensor
 device amdzentemp: sysmon_envsys
-attach amdzentemp at amdsmn
+attach amdzentemp at amdsmnbus
 file   arch/x86/pci/amdzentemp.c               amdzentemp
 
 device amdtemp: sysmon_envsys



Home | Main Index | Thread Index | Old Index