summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/dev/gdiumiic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/dev/gdiumiic.c')
-rw-r--r--sys/arch/loongson/dev/gdiumiic.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/loongson/dev/gdiumiic.c b/sys/arch/loongson/dev/gdiumiic.c
index db0ca7d78eb..f550f05c9f4 100644
--- a/sys/arch/loongson/dev/gdiumiic.c
+++ b/sys/arch/loongson/dev/gdiumiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdiumiic.c,v 1.3 2010/02/23 12:21:01 otto Exp $ */
+/* $OpenBSD: gdiumiic.c,v 1.4 2010/02/24 22:16:18 miod Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -352,6 +352,13 @@ gdiumiic_sensors_scan(struct device *iicdev, struct i2cbus_attach_args *iba,
bzero(&ia, sizeof ia);
ia.ia_tag = iba->iba_tag;
+ ia.ia_addr = 0x40;
+ ia.ia_size = 1;
+ ia.ia_name = "stsec";
+ config_found(iicdev, &ia, iic_print);
+
+ bzero(&ia, sizeof ia);
+ ia.ia_tag = iba->iba_tag;
ia.ia_addr = 0x48;
ia.ia_size = 1;
ia.ia_name = "lm75";