mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 00:20:29 +00:00
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
This commit is contained in:
parent
6647585e2d
commit
aa14e8f4b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151901
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue