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/rt2x00.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/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 0cd847c5241e..2cdde79e6d9b 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -474,6 +474,14 @@ struct rt2x00lib_ops { | |||
474 | void (*uninitialize) (struct rt2x00_dev *rt2x00dev); | 474 | void (*uninitialize) (struct rt2x00_dev *rt2x00dev); |
475 | 475 | ||
476 | /* | 476 | /* |
477 | * Ring initialization handlers | ||
478 | */ | ||
479 | void (*init_rxentry) (struct rt2x00_dev *rt2x00dev, | ||
480 | struct data_entry *entry); | ||
481 | void (*init_txentry) (struct rt2x00_dev *rt2x00dev, | ||
482 | struct data_entry *entry); | ||
483 | |||
484 | /* | ||
477 | * Radio control handlers. | 485 | * Radio control handlers. |
478 | */ | 486 | */ |
479 | int (*set_device_state) (struct rt2x00_dev *rt2x00dev, | 487 | int (*set_device_state) (struct rt2x00_dev *rt2x00dev, |