summaryrefslogtreecommitdiffstats
path: root/sys/pci/viapm.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2008-06-22 20:53:29 +0000
committergonzo <gonzo@FreeBSD.org>2008-06-22 20:53:29 +0000
commit738696766eeed17db9386f2cd89cc2a9823da80c (patch)
tree15b8ef4d3e94d6e68211940e05d09495b7bf5db0 /sys/pci/viapm.c
parentd2b669d980bfd0a58e5af042613aa0c4013c4bbb (diff)
downloadFreeBSD-src-738696766eeed17db9386f2cd89cc2a9823da80c.zip
FreeBSD-src-738696766eeed17db9386f2cd89cc2a9823da80c.tar.gz
Add support for VT8237 ISA bridge.
PR: kern/120714 Event: Bugathon#5
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 4e04593..3448fbb 100644
--- a/sys/pci/viapm.c
+++ b/sys/pci/viapm.c
@@ -70,6 +70,7 @@ static int viapm_debug = 0;
#define VIA_8233_PMU_ID 0x30741106
#define VIA_8233A_PMU_ID 0x31471106
#define VIA_8235_PMU_ID 0x31771106
+#define VIA_8237_PMU_ID 0x32271106
#define VIA_CX700_PMU_ID 0x83241106
#define VIAPM_INB(port) \
@@ -285,6 +286,12 @@ viapm_pro_probe(device_t dev)
base_cfgreg = VIAPM_8233_BASE;
goto viapro;
+ case VIA_8237_PMU_ID:
+ desc = "VIA VT8237 Power Management Unit";
+ viapm->type = VIAPM_TYP_UNKNOWN;
+ base_cfgreg = VIAPM_8233_BASE;
+ goto viapro;
+
case VIA_CX700_PMU_ID:
desc = "VIA CX700 Power Management Unit";
viapm->type = VIAPM_TYP_UNKNOWN;
OpenPOWER on IntegriCloud