So someone sent me a new toy, this adds the k15 PCIe devices. Names are
copied from the equivalent k14.. because I'm not sure wherefrom they
were originally sourced.
For km(4), it seems the temperature calculations are off.. according to
the BKDG curtmp doesn't seem to actually reflect the real temperature,
but some sort of value in relation to the max temperature.
On my system is shows around <10degC when idle, reaching 40degC when all
cores are under load. So.. the value increases! :P
The FreeBSD driver has all sorts of workarounds I'm not sure we want,
but it shows similar temperatures values.
ok?
-Bryan.
Index: dev/pci/km.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/km.c,v
retrieving revision 1.5
diff -u -p -u -r1.5 km.c
--- dev/pci/km.c 31 May 2011 00:19:55 -0000 1.5
+++ dev/pci/km.c 12 Mar 2013 22:19:16 -0000
@@ -70,7 +70,8 @@ struct cfdriver km_cd = {
static const struct pci_matchid km_devices[] = {
{ PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_10_MISC },
{ PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_11_MISC },
- { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_14_MISC }
+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_14_MISC },
+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_MISC }
};
Index: dev/pci/pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1669
diff -u -p -u -r1.1669 pcidevs
--- dev/pci/pcidevs 8 Feb 2013 07:58:18 -0000 1.1669
+++ dev/pci/pcidevs 12 Mar 2013 22:19:16 -0000
@@ -693,6 +693,12 @@ product AMD AMD64_14_PCIE_2 0x1513 AMD64
product AMD AMD64_14_PCIE_3 0x1514 AMD64 14h PCIE
product AMD AMD64_14_PCIE_4 0x1515 AMD64 14h PCIE
product AMD AMD64_14_PCIE_5 0x1516 AMD64 14h PCIE
+product AMD AMD64_15_LINK 0x1600 AMD64 15h Link Cfg
+product AMD AMD64_15_ADDR 0x1601 AMD64 15h Address Map
+product AMD AMD64_15_DRAM 0x1602 AMD64 15h DRAM Cfg
+product AMD AMD64_15_MISC 0x1603 AMD64 15h Misc Cfg
+product AMD AMD64_15_CPU_PM 0x1604 AMD64 15h CPU Power
+product AMD AMD64_15_HB 0x1605 AMD64 15h Host
product AMD AMD64_14_LINK 0x1700 AMD64 14h Link Cfg
product AMD AMD64_14_ADDR 0x1701 AMD64 14h Address Map
product AMD AMD64_14_DRAM 0x1702 AMD64 14h DRAM Cfg