summaryrefslogtreecommitdiffstats
path: root/sys/pci/viapm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/viapm.c')
-rw-r--r--sys/pci/viapm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c
index d553484..e333104 100644
--- a/sys/pci/viapm.c
+++ b/sys/pci/viapm.c
@@ -71,6 +71,7 @@ static int viapm_debug = 0;
#define VIA_686A_PMU_ID 0x30571106
#define VIA_8233_PMU_ID 0x30741106
#define VIA_8233A_PMU_ID 0x31471106
+#define VIA_8235_PMU_ID 0x31771106
#define VIAPM_INB(port) \
((u_char)bus_space_read_1(viapm->st, viapm->sh, port))
@@ -277,6 +278,12 @@ viapm_pro_probe(device_t dev)
base_cfgreg = VIAPM_8233_BASE;
goto viapro;
+ case VIA_8235_PMU_ID:
+ desc = "VIA VT8235 Power Management Unit";
+ viapm->type = VIAPM_TYP_UNKNOWN;
+ base_cfgreg = VIAPM_8233_BASE;
+ goto viapro;
+
viapro:
#ifdef VIAPM_BASE_ADDR
OpenPOWER on IntegriCloud