diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-31 18:43:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-31 18:43:28 +0000 |
commit | 1b3f9b95ccc4aef57b89b20c6b36401ec3212c7f (patch) | |
tree | 26c5c40115c90ae6ff3545f5a1c96fdfdd09333b | |
parent | 9f7eef096f274e3e79f4f8a19c09b9d4d1f65036 (diff) | |
download | FreeBSD-src-1b3f9b95ccc4aef57b89b20c6b36401ec3212c7f.zip FreeBSD-src-1b3f9b95ccc4aef57b89b20c6b36401ec3212c7f.tar.gz |
Add the device ID for the VIA VT8235 south bridge.
PR: kern/62438
Submitted by: FUJIMOTO Kou fujimoto at j dot dendai dot ac dot jp
Tested by: Oliver Fromme olli at secnetix dot de
MFC after: 1 week
-rw-r--r-- | sys/pci/viapm.c | 7 |
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 |