diff options
author | Sritej Velaga <sritej.velaga@qlogic.com> | 2010-10-07 19:46:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-08 16:59:11 -0400 |
commit | ff1b1bf867ebb7eb5e3ff0eab21c26b830d5e890 (patch) | |
tree | d7c072a061ff2bca6a3320a360d2dfba05386c22 /drivers/net/qlcnic/qlcnic_init.c | |
parent | ee07c1a70117fe93cf71686d481791c2498f80d2 (diff) |
qlcnic: change all P3 references to P3P
This patch just rename all P3 #define to P3P.
Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_init.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c index 908a25b5597a..0d180c6e41fe 100644 --- a/drivers/net/qlcnic/qlcnic_init.c +++ b/drivers/net/qlcnic/qlcnic_init.c | |||
@@ -259,14 +259,14 @@ int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter) | |||
259 | switch (ring) { | 259 | switch (ring) { |
260 | case RCV_RING_NORMAL: | 260 | case RCV_RING_NORMAL: |
261 | rds_ring->num_desc = adapter->num_rxd; | 261 | rds_ring->num_desc = adapter->num_rxd; |
262 | rds_ring->dma_size = QLCNIC_P3_RX_BUF_MAX_LEN; | 262 | rds_ring->dma_size = QLCNIC_P3P_RX_BUF_MAX_LEN; |
263 | rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; | 263 | rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; |
264 | break; | 264 | break; |
265 | 265 | ||
266 | case RCV_RING_JUMBO: | 266 | case RCV_RING_JUMBO: |
267 | rds_ring->num_desc = adapter->num_jumbo_rxd; | 267 | rds_ring->num_desc = adapter->num_jumbo_rxd; |
268 | rds_ring->dma_size = | 268 | rds_ring->dma_size = |
269 | QLCNIC_P3_RX_JUMBO_BUF_MAX_LEN; | 269 | QLCNIC_P3P_RX_JUMBO_BUF_MAX_LEN; |
270 | 270 | ||
271 | if (adapter->capabilities & QLCNIC_FW_CAPABILITY_HW_LRO) | 271 | if (adapter->capabilities & QLCNIC_FW_CAPABILITY_HW_LRO) |
272 | rds_ring->dma_size += QLCNIC_LRO_BUFFER_EXTRA; | 272 | rds_ring->dma_size += QLCNIC_LRO_BUFFER_EXTRA; |