summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2012-07-01 02:15:10 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2012-07-01 02:15:10 +0000
commitc9fbc5f041be1c262307e70c94d87d0042968bd3 (patch)
treec01860c25fb907526c8ca4130410ac5e39d6966d /sys/dev/isa
parent35b697b9f5a242eeffada8ad7b634d46145d7f24 (diff)
Add support for the Winbond W83627UHG chip.
Ported from a DragonFly BSD commit by Constantine A. Murenin: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/245ec76bc1613b22cf282526fa9931e4c16e4237 Tested on a Lanner FW-7539 appliance. ok mlarkin mikeb haesbaert henning
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/wbsio.c6
-rw-r--r--sys/dev/isa/wbsioreg.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isa/wbsio.c b/sys/dev/isa/wbsio.c
index d469feb3e79..b30e2ecc696 100644
--- a/sys/dev/isa/wbsio.c
+++ b/sys/dev/isa/wbsio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wbsio.c,v 1.7 2011/12/06 16:06:07 mpf Exp $ */
+/* $OpenBSD: wbsio.c,v 1.8 2012/07/01 02:15:09 lteo Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
@@ -108,6 +108,7 @@ wbsio_probe(struct device *parent, void *match, void *aux)
case WBSIO_ID_W83627EHF:
case WBSIO_ID_W83627DHG:
case WBSIO_ID_W83627DHGP:
+ case WBSIO_ID_W83627UHG:
case WBSIO_ID_W83637HF:
case WBSIO_ID_W83697HF:
case WBSIO_ID_NCT6776F:
@@ -160,6 +161,9 @@ wbsio_attach(struct device *parent, struct device *self, void *aux)
case WBSIO_ID_W83627DHGP:
printf(": W83627DHG-P");
break;
+ case WBSIO_ID_W83627UHG:
+ printf(": W83627UHG");
+ break;
case WBSIO_ID_W83637HF:
printf(": W83637HF");
break;
diff --git a/sys/dev/isa/wbsioreg.h b/sys/dev/isa/wbsioreg.h
index 3eec734c103..2a5a4eac283 100644
--- a/sys/dev/isa/wbsioreg.h
+++ b/sys/dev/isa/wbsioreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wbsioreg.h,v 1.2 2011/12/07 12:24:17 mpf Exp $ */
+/* $OpenBSD: wbsioreg.h,v 1.3 2012/07/01 02:15:09 lteo Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
@@ -38,6 +38,7 @@
#define WBSIO_ID_W83627EHF 0x88
#define WBSIO_ID_W83627DHG 0xa0
#define WBSIO_ID_W83627DHGP 0xb0
+#define WBSIO_ID_W83627UHG 0xa2
#define WBSIO_ID_W83627SF 0x59
#define WBSIO_ID_W83637HF 0x70
#define WBSIO_ID_W83697HF 0x60