diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-01-06 17:41:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:27 -0500 |
commit | 837e7f247a8ed3f5577462655f8099a81b360422 (patch) | |
tree | abf59b6ac3a0c27ad80dc282e9465c30eeb9fb55 /drivers/net/wireless/rt2x00/rt2x00usb.h | |
parent | 7e56d38d5d0bda89228821902af297a46b5fdb80 (diff) |
rt2x00: Move init_txring and init_rxring into rt2x00lib
Prior to enabling the radio rt2x00lib should go through all
rings and for each entry should call the callback function
init_txentry() and init_rxentry().
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h index 2fa45c57a73f..e40df4050cd0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h | |||
@@ -154,7 +154,6 @@ static inline int rt2x00usb_eeprom_read(struct rt2x00_dev *rt2x00dev, | |||
154 | /* | 154 | /* |
155 | * Radio handlers | 155 | * Radio handlers |
156 | */ | 156 | */ |
157 | void rt2x00usb_enable_radio(struct rt2x00_dev *rt2x00dev); | ||
158 | void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev); | 157 | void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev); |
159 | 158 | ||
160 | /* | 159 | /* |
@@ -167,6 +166,10 @@ int rt2x00usb_write_tx_data(struct rt2x00_dev *rt2x00dev, | |||
167 | /* | 166 | /* |
168 | * Device initialization handlers. | 167 | * Device initialization handlers. |
169 | */ | 168 | */ |
169 | void rt2x00usb_init_rxentry(struct rt2x00_dev *rt2x00dev, | ||
170 | struct data_entry *entry); | ||
171 | void rt2x00usb_init_txentry(struct rt2x00_dev *rt2x00dev, | ||
172 | struct data_entry *entry); | ||
170 | int rt2x00usb_initialize(struct rt2x00_dev *rt2x00dev); | 173 | int rt2x00usb_initialize(struct rt2x00_dev *rt2x00dev); |
171 | void rt2x00usb_uninitialize(struct rt2x00_dev *rt2x00dev); | 174 | void rt2x00usb_uninitialize(struct rt2x00_dev *rt2x00dev); |
172 | 175 | ||