diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2015-01-02 23:02:55 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2015-01-02 23:02:55 +0000 |
commit | 6adda8f7daf3c618560e45c98ec5d735a8ce8d20 (patch) | |
tree | b7765758f0f4742e9283948bfdf42ee648c46c13 /sys/dev/isa | |
parent | e36ff5e3a9bc097cb77c859c3a0b3e3781d2f5aa (diff) |
Identify NCT5104D variant in dmesg. (No lm here, these are used for com and
gpio pins on SuperMicro and PC Engines.)
ok kettenis@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/wbsio.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/wbsioreg.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isa/wbsio.c b/sys/dev/isa/wbsio.c index b30e2ecc696..94beddaf840 100644 --- a/sys/dev/isa/wbsio.c +++ b/sys/dev/isa/wbsio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wbsio.c,v 1.8 2012/07/01 02:15:09 lteo Exp $ */ +/* $OpenBSD: wbsio.c,v 1.9 2015/01/02 23:02:54 chris Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * @@ -112,6 +112,7 @@ wbsio_probe(struct device *parent, void *match, void *aux) case WBSIO_ID_W83637HF: case WBSIO_ID_W83697HF: case WBSIO_ID_NCT6776F: + case WBSIO_ID_NCT5104D: ia->ipa_nio = 1; ia->ipa_io[0].length = WBSIO_IOSIZE; ia->ipa_nmem = 0; @@ -173,6 +174,9 @@ wbsio_attach(struct device *parent, struct device *self, void *aux) case WBSIO_ID_NCT6776F: printf(": NCT6776F"); break; + case WBSIO_ID_NCT5104D: + printf(": NCT5104D"); + break; } /* Read device revision */ diff --git a/sys/dev/isa/wbsioreg.h b/sys/dev/isa/wbsioreg.h index 2a5a4eac283..574a19f358b 100644 --- a/sys/dev/isa/wbsioreg.h +++ b/sys/dev/isa/wbsioreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wbsioreg.h,v 1.3 2012/07/01 02:15:09 lteo Exp $ */ +/* $OpenBSD: wbsioreg.h,v 1.4 2015/01/02 23:02:54 chris Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * @@ -43,6 +43,7 @@ #define WBSIO_ID_W83637HF 0x70 #define WBSIO_ID_W83697HF 0x60 #define WBSIO_ID_NCT6776F 0xc3 +#define WBSIO_ID_NCT5104D 0xc4 /* Logical Device Number (LDN) Assignments */ #define WBSIO_LDN_HM 0x0b |