/* e1000_configure - configure the hardware for RX and TX @adapter = private board structure  */
static void e1000_configure(struct e1000_adapter *adapter)
/* e1000_configure - configure the hardware for RX and TX @adapter = private board structure  */
static void e1000_configure(struct e1000_adapter *adapter)
{
	struct net_device *netdev = adapter->netdev;
	int i;
	e1000_set_rx_mode(netdev);
	e1000_restore_vlan(adapter);
	e1000_init_manageability(adapter);
	e1000_configure_tx(adapter);
	e1000_setup_rctl(adapter);
	e1000_configure_rx(adapter);
	for (i = 0; i < adapter->num_rx_queues; i++) {
		struct e1000_rx_ring *ring = &adapter->rx_ring[i];
		adapter->alloc_rx_buf(adapter, ring,
		                      E1000_DESC_UNUSED(ring));
	}
	adapter->tx_queue_len = netdev->tx_queue_len;
}