diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-15 16:23:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-15 16:23:35 +0000 |
commit | e81a9e6ddbbcf435959b012f5595da0ed2389886 (patch) | |
tree | aa2643a45c77098fcb86874b7d751970cd00d379 /sys/dev/i2c/i2cvar.h | |
parent | c8c7014162f692ead770cea7fb5b67b92fd04f97 (diff) |
instead of passing OF nodes down to the drivers, pass name/compat string
pointers. This lets their match() functions actually make real decisions.
OF-capable machines will pass name/compat pointers, but other machines
will not. grudging ok kettenis
Diffstat (limited to 'sys/dev/i2c/i2cvar.h')
-rw-r--r-- | sys/dev/i2c/i2cvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2cvar.h b/sys/dev/i2c/i2cvar.h index 7065df99932..bbda44a6595 100644 --- a/sys/dev/i2c/i2cvar.h +++ b/sys/dev/i2c/i2cvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i2cvar.h,v 1.1 2004/05/23 17:33:43 grange Exp $ */ +/* $OpenBSD: i2cvar.h,v 1.2 2005/11/15 16:23:31 deraadt Exp $ */ /* $NetBSD: i2cvar.h,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* @@ -101,6 +101,8 @@ struct i2c_attach_args { i2c_tag_t ia_tag; /* our controller */ i2c_addr_t ia_addr; /* address of device */ int ia_size; /* size (for EEPROMs) */ + char *ia_name; + char *ia_compat; }; /* |