diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-05-10 12:39:28 -0400 |
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-05-10 12:39:28 -0400 |
| commit | 1e4b1057121bc756b91758a434b504d2010f6088 (patch) | |
| tree | b016cf2c728289c7e36d9e4e488f30ab0bd0ae6e /drivers/net/wireless/ath/ath.h | |
| parent | 3b254c54ec46eb022cb26ee6ab37fae23f5f7d6a (diff) | |
| parent | 3ee943728fff536edaf8f59faa58aaa1aa7366e3 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
net/bridge/br_device.c
net/bridge/br_forward.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
| -rw-r--r-- | drivers/net/wireless/ath/ath.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 1fbf6b1f9a7e..d32f2828b098 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h | |||
| @@ -71,9 +71,21 @@ struct ath_regulatory { | |||
| 71 | struct reg_dmn_pair_mapping *regpair; | 71 | struct reg_dmn_pair_mapping *regpair; |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | /** | ||
| 75 | * struct ath_ops - Register read/write operations | ||
| 76 | * | ||
| 77 | * @read: Register read | ||
| 78 | * @write: Register write | ||
| 79 | * @enable_write_buffer: Enable multiple register writes | ||
| 80 | * @disable_write_buffer: Disable multiple register writes | ||
| 81 | * @write_flush: Flush buffered register writes | ||
| 82 | */ | ||
| 74 | struct ath_ops { | 83 | struct ath_ops { |
| 75 | unsigned int (*read)(void *, u32 reg_offset); | 84 | unsigned int (*read)(void *, u32 reg_offset); |
| 76 | void (*write)(void *, u32 val, u32 reg_offset); | 85 | void (*write)(void *, u32 val, u32 reg_offset); |
| 86 | void (*enable_write_buffer)(void *); | ||
| 87 | void (*disable_write_buffer)(void *); | ||
| 88 | void (*write_flush) (void *); | ||
| 77 | }; | 89 | }; |
| 78 | 90 | ||
| 79 | struct ath_common; | 91 | struct ath_common; |
