equal
deleted
inserted
replaced
2402 |
2402 |
2403 if (!adapter->netdev && netif_running(netdev)) { |
2403 if (!adapter->netdev && netif_running(netdev)) { |
2404 /* No need to loop, because 82542 supports only 1 queue */ |
2404 /* No need to loop, because 82542 supports only 1 queue */ |
2405 struct e1000_rx_ring *ring = &adapter->rx_ring[0]; |
2405 struct e1000_rx_ring *ring = &adapter->rx_ring[0]; |
2406 e1000_configure_rx(adapter); |
2406 e1000_configure_rx(adapter); |
2407 if (adapter->ecdev) { |
2407 if (adapter->ecdev) { |
2408 /* fill rx ring completely! */ |
2408 /* fill rx ring completely! */ |
2409 adapter->alloc_rx_buf(adapter, ring, ring->count); |
2409 adapter->alloc_rx_buf(adapter, ring, ring->count); |
2410 } else { |
2410 } else { |
2411 /* this one leaves the last ring element unallocated! */ |
2411 /* this one leaves the last ring element unallocated! */ |
2412 adapter->alloc_rx_buf(adapter, ring, E1000_DESC_UNUSED(ring)); |
2412 adapter->alloc_rx_buf(adapter, ring, E1000_DESC_UNUSED(ring)); |