diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-10-17 03:42:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-18 14:06:59 -0400 |
commit | 51e62469eac296d39d57fb75f182e4ef8066f82f (patch) | |
tree | 4d255088cbfe09b931de6c020d080c7750e44845 /drivers/net/wireless | |
parent | 8d03e77218ff4bc59e4645438acbd3c5c7e0f654 (diff) |
rt2x00: rt2800pci: use rt2800mmio prefix for queue functions
The functions are used for devices with memory
mapped I/O and contain no PCI specific code at
all. Use rt2800mmio prefix instead of rt2800pci
in the function names to reflect that.
The patch contains no functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 12454b0a6383..118f2d592a93 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -204,7 +204,7 @@ static inline int rt2800pci_read_eeprom_efuse(struct rt2x00_dev *rt2x00dev) | |||
204 | /* | 204 | /* |
205 | * Queue handlers. | 205 | * Queue handlers. |
206 | */ | 206 | */ |
207 | static void rt2800pci_start_queue(struct data_queue *queue) | 207 | static void rt2800mmio_start_queue(struct data_queue *queue) |
208 | { | 208 | { |
209 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | 209 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; |
210 | u32 reg; | 210 | u32 reg; |
@@ -231,7 +231,7 @@ static void rt2800pci_start_queue(struct data_queue *queue) | |||
231 | } | 231 | } |
232 | } | 232 | } |
233 | 233 | ||
234 | static void rt2800pci_kick_queue(struct data_queue *queue) | 234 | static void rt2800mmio_kick_queue(struct data_queue *queue) |
235 | { | 235 | { |
236 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | 236 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; |
237 | struct queue_entry *entry; | 237 | struct queue_entry *entry; |
@@ -255,7 +255,7 @@ static void rt2800pci_kick_queue(struct data_queue *queue) | |||
255 | } | 255 | } |
256 | } | 256 | } |
257 | 257 | ||
258 | static void rt2800pci_stop_queue(struct data_queue *queue) | 258 | static void rt2800mmio_stop_queue(struct data_queue *queue) |
259 | { | 259 | { |
260 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | 260 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; |
261 | u32 reg; | 261 | u32 reg; |
@@ -669,9 +669,9 @@ static const struct rt2x00lib_ops rt2800pci_rt2x00_ops = { | |||
669 | .link_tuner = rt2800_link_tuner, | 669 | .link_tuner = rt2800_link_tuner, |
670 | .gain_calibration = rt2800_gain_calibration, | 670 | .gain_calibration = rt2800_gain_calibration, |
671 | .vco_calibration = rt2800_vco_calibration, | 671 | .vco_calibration = rt2800_vco_calibration, |
672 | .start_queue = rt2800pci_start_queue, | 672 | .start_queue = rt2800mmio_start_queue, |
673 | .kick_queue = rt2800pci_kick_queue, | 673 | .kick_queue = rt2800mmio_kick_queue, |
674 | .stop_queue = rt2800pci_stop_queue, | 674 | .stop_queue = rt2800mmio_stop_queue, |
675 | .flush_queue = rt2x00mmio_flush_queue, | 675 | .flush_queue = rt2x00mmio_flush_queue, |
676 | .write_tx_desc = rt2800mmio_write_tx_desc, | 676 | .write_tx_desc = rt2800mmio_write_tx_desc, |
677 | .write_tx_data = rt2800_write_tx_data, | 677 | .write_tx_data = rt2800_write_tx_data, |
@@ -689,7 +689,7 @@ static const struct rt2x00lib_ops rt2800pci_rt2x00_ops = { | |||
689 | .sta_remove = rt2800_sta_remove, | 689 | .sta_remove = rt2800_sta_remove, |
690 | }; | 690 | }; |
691 | 691 | ||
692 | static void rt2800pci_queue_init(struct data_queue *queue) | 692 | static void rt2800mmio_queue_init(struct data_queue *queue) |
693 | { | 693 | { |
694 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | 694 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; |
695 | unsigned short txwi_size, rxwi_size; | 695 | unsigned short txwi_size, rxwi_size; |
@@ -739,7 +739,7 @@ static const struct rt2x00_ops rt2800pci_ops = { | |||
739 | .eeprom_size = EEPROM_SIZE, | 739 | .eeprom_size = EEPROM_SIZE, |
740 | .rf_size = RF_SIZE, | 740 | .rf_size = RF_SIZE, |
741 | .tx_queues = NUM_TX_QUEUES, | 741 | .tx_queues = NUM_TX_QUEUES, |
742 | .queue_init = rt2800pci_queue_init, | 742 | .queue_init = rt2800mmio_queue_init, |
743 | .lib = &rt2800pci_rt2x00_ops, | 743 | .lib = &rt2800pci_rt2x00_ops, |
744 | .drv = &rt2800pci_rt2800_ops, | 744 | .drv = &rt2800pci_rt2800_ops, |
745 | .hw = &rt2800pci_mac80211_ops, | 745 | .hw = &rt2800pci_mac80211_ops, |