summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-05-09 15:29:11 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-05-09 15:29:11 +0000
commita17f94779358721f91a024cc3d9c834cd8f0dee4 (patch)
treec2499c950f7f8777b45af06f44de706510cc24d5 /sys/arch/loongson
parent7acbb565dc80cd254ef446d4478a069d08d85d42 (diff)
Whitelist SMBus IO addresses to let the driver, piixpm(4), work again.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/loongson/generic3a_machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/loongson/generic3a_machdep.c b/sys/arch/loongson/loongson/generic3a_machdep.c
index 5bc6b9a6456..52ed71fce1f 100644
--- a/sys/arch/loongson/loongson/generic3a_machdep.c
+++ b/sys/arch/loongson/loongson/generic3a_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: generic3a_machdep.c,v 1.4 2017/02/19 08:59:41 visa Exp $ */
+/* $OpenBSD: generic3a_machdep.c,v 1.5 2017/05/09 15:29:10 visa Exp $ */
/*
* Copyright (c) 2009, 2010, 2012 Miodrag Vallat.
@@ -102,6 +102,8 @@ const struct legacy_io_range rs780e_legacy_ranges[] = {
/* pckbc */
{ IO_KBD, IO_KBD },
{ IO_KBD + 4, IO_KBD + 4 },
+ /* SMBus */
+ { 0x1000, 0x100f },
{ 0, 0 }
};