summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc64/dev/ofwi2c.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/ofwi2c.c b/sys/arch/sparc64/dev/ofwi2c.c
index bca19895827..f914e69e879 100644
--- a/sys/arch/sparc64/dev/ofwi2c.c
+++ b/sys/arch/sparc64/dev/ofwi2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofwi2c.c,v 1.4 2006/06/14 01:15:19 deraadt Exp $ */
+/* $OpenBSD: ofwi2c.c,v 1.5 2007/03/29 17:41:33 deraadt Exp $ */
/*
* Copyright (c) 2006 Theo de Raadt
@@ -83,6 +83,11 @@ ofwiic_scan(struct device *self, struct i2cbus_attach_args *iba, void *aux)
if (strncmp(ia.ia_name, "i2c-", strlen("i2c-")) == 0)
ia.ia_name += strlen("i2c-");
+ /* skip totally boring devices */
+ if (strcmp(ia.ia_name, "at24c64") == 0 ||
+ strcmp(ia.ia_name, "at34c02") == 0)
+ continue;
+
config_found(self, &ia, iic_print);
}
}