summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-06 03:44:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-06 03:44:36 +0000
commitaf971d6c7defe8ff84e80b184d5a81964cc767ed (patch)
tree9eb5e65ce33d97fd262f6ca7a16d795bbe82e56f /sys/dev
parent19ca158d411d309e74233be96200271ae23e3a2b (diff)
we now do these checks in iic_scan
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/adm1025.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/i2c/adm1025.c b/sys/dev/i2c/adm1025.c
index e96abb8d60a..96d1b138e53 100644
--- a/sys/dev/i2c/adm1025.c
+++ b/sys/dev/i2c/adm1025.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adm1025.c,v 1.19 2005/12/31 04:31:27 deraadt Exp $ */
+/* $OpenBSD: adm1025.c,v 1.20 2006/01/06 03:44:35 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -85,16 +85,8 @@ admtm_match(struct device *parent, void *match, void *aux)
if (strcmp(ia->ia_name, "adm1025") == 0 ||
strcmp(ia->ia_name, "47m192") == 0 ||
- strcmp(ia->ia_name, "ne1619") == 0) {
- /*
- * should also ensure that
- * config & 0x80 == 0x00
- * status1 & 0xc0 == 0x00
- * status2 & 0xbc == 0x00
- * before accepting this to be for real
- */
+ strcmp(ia->ia_name, "ne1619") == 0)
return (1);
- }
return (0);
}