summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/macppc/dev/maci2c.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/maci2c.c b/sys/arch/macppc/dev/maci2c.c
index c1af2c470d3..39af02e2cd6 100644
--- a/sys/arch/macppc/dev/maci2c.c
+++ b/sys/arch/macppc/dev/maci2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: maci2c.c,v 1.6 2006/01/01 21:30:09 deraadt Exp $ */
+/* $OpenBSD: maci2c.c,v 1.7 2006/01/09 01:48:17 deraadt Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -48,8 +48,11 @@ maciic_scan(struct device *self, struct i2cbus_attach_args *iba, void *aux)
ia.ia_name = name;
if (ia.ia_name == NULL &&
OF_getprop(node, "name", &name,
- sizeof name) && name[0])
+ sizeof name) && name[0]) {
+ if (strcmp(name, "cereal") == 0)
+ continue;
ia.ia_name = name;
+ }
if (ia.ia_name)
config_found(self, &ia, iic_print);
}