aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_param.c')
-rw-r--r--drivers/net/e1000/e1000_param.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_param.c b/drivers/net/e1000/e1000_param.c
index f8862e203ac9..f485874a63f5 100644
--- a/drivers/net/e1000/e1000_param.c
+++ b/drivers/net/e1000/e1000_param.c
@@ -305,7 +305,7 @@ e1000_check_options(struct e1000_adapter *adapter)
305 if (num_TxDescriptors > bd) { 305 if (num_TxDescriptors > bd) {
306 tx_ring->count = TxDescriptors[bd]; 306 tx_ring->count = TxDescriptors[bd];
307 e1000_validate_option(&tx_ring->count, &opt, adapter); 307 e1000_validate_option(&tx_ring->count, &opt, adapter);
308 E1000_ROUNDUP(tx_ring->count, 308 tx_ring->count = ALIGN(tx_ring->count,
309 REQ_TX_DESCRIPTOR_MULTIPLE); 309 REQ_TX_DESCRIPTOR_MULTIPLE);
310 } else { 310 } else {
311 tx_ring->count = opt.def; 311 tx_ring->count = opt.def;
@@ -331,7 +331,7 @@ e1000_check_options(struct e1000_adapter *adapter)
331 if (num_RxDescriptors > bd) { 331 if (num_RxDescriptors > bd) {
332 rx_ring->count = RxDescriptors[bd]; 332 rx_ring->count = RxDescriptors[bd];
333 e1000_validate_option(&rx_ring->count, &opt, adapter); 333 e1000_validate_option(&rx_ring->count, &opt, adapter);
334 E1000_ROUNDUP(rx_ring->count, 334 rx_ring->count = ALIGN(rx_ring->count,
335 REQ_RX_DESCRIPTOR_MULTIPLE); 335 REQ_RX_DESCRIPTOR_MULTIPLE);
336 } else { 336 } else {
337 rx_ring->count = opt.def; 337 rx_ring->count = opt.def;