summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/maci2cvar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-01 20:52:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-01 20:52:29 +0000
commit5c6a275d22890d00126f51fb7cbff1aa01948aca (patch)
tree7b1673167ce83d637e54ce54d8bd795cdcd691f6 /sys/arch/macppc/dev/maci2cvar.h
parent2e8171134016d44dbd15da591feea9b72aae4eca (diff)
switch from macppc-specific maciic(4) driver to the generic iic(4),
after teaching it to use a function pointer to get back to the OFW scan.. this will also help the sparc64 later; ok kettenis
Diffstat (limited to 'sys/arch/macppc/dev/maci2cvar.h')
-rw-r--r--sys/arch/macppc/dev/maci2cvar.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/maci2cvar.h b/sys/arch/macppc/dev/maci2cvar.h
index 7dc43716b20..4575b37fa1b 100644
--- a/sys/arch/macppc/dev/maci2cvar.h
+++ b/sys/arch/macppc/dev/maci2cvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: maci2cvar.h,v 1.2 2005/11/15 16:23:34 deraadt Exp $ */
+/* $OpenBSD: maci2cvar.h,v 1.3 2006/01/01 20:52:25 deraadt Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -18,7 +18,4 @@
#include <dev/i2c/i2cvar.h>
-struct maci2cbus_attach_args {
- i2c_tag_t iba_tag;
- int iba_node;
-};
+void maciic_scan(struct device *sc, struct i2cbus_attach_args *iba, void *aux);