gpio pins on SuperMicro and PC Engines.)
ok kettenis@
-/* $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>
*
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;
case WBSIO_ID_NCT6776F:
printf(": NCT6776F");
break;
+ case WBSIO_ID_NCT5104D:
+ printf(": NCT5104D");
+ break;
}
/* Read device revision */
-/* $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>
*
#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