diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-25 13:00:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-25 13:00:04 +0000 |
commit | 2bae917e6b97fa1894b4680fec05172ef8f00972 (patch) | |
tree | 4c105044dd870f16ad596639379bb1f45937c030 | |
parent | 8769fbf40387051a609dbe230e439304c7f84bda (diff) |
Fix Cardbus_conf_{read,write} macros. Not used by anything yet.
-rw-r--r-- | sys/dev/cardbus/cardbusvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/cardbusvar.h b/sys/dev/cardbus/cardbusvar.h index 445be25ec98..7b86ef67150 100644 --- a/sys/dev/cardbus/cardbusvar.h +++ b/sys/dev/cardbus/cardbusvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cardbusvar.h,v 1.13 2009/07/23 15:09:41 kettenis Exp $ */ +/* $OpenBSD: cardbusvar.h,v 1.14 2009/07/25 13:00:03 miod Exp $ */ /* $NetBSD: cardbusvar.h,v 1.17 2000/04/02 19:11:37 mycroft Exp $ */ /* @@ -433,11 +433,11 @@ int cardbus_matchbyid(struct cardbus_attach_args *, (*(cf)->cardbus_free_tag)(cc, (tag)) #define Cardbus_conf_read(ct, tag, offs) \ - (*(ct)->ct_cf->cardbus_conf_read)((ct)->ct_cf, (tag), (offs)) + (*(ct)->ct_cf->cardbus_conf_read)((ct)->ct_cc, (tag), (offs)) #define cardbus_conf_read(cc, cf, tag, offs) \ ((cf)->cardbus_conf_read)((cc), (tag), (offs)) #define Cardbus_conf_write(ct, tag, offs, val) \ - (*(ct)->ct_cf->cardbus_conf_write)((ct)->ct_cf, (tag), (offs), (val)) + (*(ct)->ct_cf->cardbus_conf_write)((ct)->ct_cc, (tag), (offs), (val)) #define cardbus_conf_write(cc, cf, tag, offs, val) \ ((cf)->cardbus_conf_write)((cc), (tag), (offs), (val)) |