aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-11-04 12:36:24 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-06 16:48:58 -0500
commit89297425c2104b187c25d6260a41345c491c8f18 (patch)
tree7a66b13c5a555af7d1adfd20fbda06e37dbf3ef0 /drivers/net/wireless/rt2x00/rt2800lib.h
parent4d6f8b9f17626da48d6badc6ba259fbacc1413c3 (diff)
rt2800: add rt2800lib (part one)
Code unification. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.h b/drivers/net/wireless/rt2x00/rt2800lib.h
index 17e91fb1a77a..40a7f72e87f5 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.h
+++ b/drivers/net/wireless/rt2x00/rt2800lib.h
@@ -96,4 +96,18 @@ static inline int rt2800_regbusy_read(struct rt2x00_dev *rt2x00dev,
96 return rt2800ops->regbusy_read(rt2x00dev, offset, field, reg); 96 return rt2800ops->regbusy_read(rt2x00dev, offset, field, reg);
97} 97}
98 98
99void rt2800_bbp_write(struct rt2x00_dev *rt2x00dev,
100 const unsigned int word, const u8 value);
101void rt2800_bbp_read(struct rt2x00_dev *rt2x00dev,
102 const unsigned int word, u8 *value);
103void rt2800_rfcsr_write(struct rt2x00_dev *rt2x00dev,
104 const unsigned int word, const u8 value);
105void rt2800_rfcsr_read(struct rt2x00_dev *rt2x00dev,
106 const unsigned int word, u8 *value);
107void rt2800_rf_write(struct rt2x00_dev *rt2x00dev,
108 const unsigned int word, const u32 value);
109void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev,
110 const u8 command, const u8 token,
111 const u8 arg0, const u8 arg1);
112
99#endif /* RT2800LIB_H */ 113#endif /* RT2800LIB_H */