Add IDs for Nuvoton NCT6793/NCT6795.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2018-01-13 16:31:07 +00:00
parent 78f8baa866
commit f531e07502

View File

@ -97,7 +97,7 @@ __FBSDID("$FreeBSD$");
enum chips { w83627hf, w83627s, w83697hf, w83697ug, w83637hf, w83627thf, enum chips { w83627hf, w83627s, w83697hf, w83697ug, w83637hf, w83627thf,
w83687thf, w83627ehf, w83627dhg, w83627uhg, w83667hg, w83687thf, w83627ehf, w83627dhg, w83627uhg, w83667hg,
w83627dhg_p, w83667hg_b, nct6775, nct6776, nct6779, nct6791, w83627dhg_p, w83667hg_b, nct6775, nct6776, nct6779, nct6791,
nct6792, nct6102 }; nct6792, nct6793, nct6795, nct6102 };
struct wb_softc { struct wb_softc {
device_t dev; device_t dev;
@ -252,6 +252,16 @@ struct winbond_vendor_device_id {
.chip = nct6792, .chip = nct6792,
.descr = "Nuvoton NCT6792", .descr = "Nuvoton NCT6792",
}, },
{
.device_id = 0xd1,
.chip = nct6793,
.descr = "Nuvoton NCT6793",
},
{
.device_id = 0xd3,
.chip = nct6795,
.descr = "Nuvoton NCT6795",
},
}; };
static void static void
@ -810,6 +820,8 @@ wb_attach(device_t dev)
case nct6779: case nct6779:
case nct6791: case nct6791:
case nct6792: case nct6792:
case nct6793:
case nct6795:
case nct6102: case nct6102:
/* /*
* These chips have a fixed WDTO# output pin (W83627UHG), * These chips have a fixed WDTO# output pin (W83627UHG),