Hi tech@,
Here is a diff to add support for the VIA VX900 chipset in viapm(4).
Comments? OK?
Index: share/man/man4/viapm.4
===================================================================
RCS file: /cvs/src/share/man/man4/viapm.4,v
retrieving revision 1.11
diff -u -p -r1.11 viapm.4
--- share/man/man4/viapm.4 16 Jul 2013 16:05:49 -0000 1.11
+++ share/man/man4/viapm.4 3 Jul 2018 22:11:37 -0000
@@ -28,8 +28,8 @@ The
.Nm
driver provides support for the bus control and power management
component of the VIA VT82C596, VT82C596B, VT82C686A, VT8231, VT8233,
-VT8233A, VT8235, VT8237, VT8237A, VT8237S, VT8251, CX700, VX800 and
-VX855 South Bridges.
+VT8233A, VT8235, VT8237, VT8237A, VT8237S, VT8251, CX700, VX800,
+VX855 and VX900 South Bridges.
Only the SMBus host interface is supported and can be used with the
.Xr iic 4
framework.
Index: sys/dev/pci/viapm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/viapm.c,v
retrieving revision 1.16
diff -u -p -r1.16 viapm.c
--- sys/dev/pci/viapm.c 5 Oct 2012 10:51:28 -0000 1.16
+++ sys/dev/pci/viapm.c 3 Jul 2018 22:11:37 -0000
@@ -53,7 +53,7 @@
/*
* Driver for the SMBus controller and power management timer
* in the VIA VT82C596[B], VT82C686A, VT8231, VT8233[A], VT8235, VT8237[A,S],
- * VT8251, CX700, VX800 and VX855 South Bridges.
+ * VT8251, CX700, VX800, VX855 and VX900 South Bridges.
* Also for the hardware monitoring part of the VIA VT82C686A and VT8231.
*/
@@ -246,7 +246,8 @@ const struct pci_matchid viapm_ids[] = {
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT8251_ISA },
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_CX700_ISA },
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VX800_ISA },
- { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VX855_ISA }
+ { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VX855_ISA },
+ { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VX900_ISA }
};
/*