@@ -734,7 +729,6 @@ static int amd8111e_rx_poll(struct napi_struct *napi, int budget)
intmin_pkt_len,status;
unsignedintintr0;
intnum_rx_pkt=0;
/*int max_rx_pkt = NUM_RX_BUFFERS;*/
shortpkt_len;
#if AMD8111E_VLAN_TAG_USED
shortvtag;
@@ -850,108 +844,6 @@ static int amd8111e_rx_poll(struct napi_struct *napi, int budget)
returnnum_rx_pkt;
}
#else
/*
This function will check the ownership of receive buffers and descriptors. It will indicate to kernel up to half the number of maximum receive buffers in the descriptor ring, in a single receive interrupt. It will also replenish the descriptors with new skbs.
*/
staticintamd8111e_rx(structnet_device*dev)
{
structamd8111e_priv*lp=netdev_priv(dev);
structsk_buff*skb,*new_skb;
intrx_index=lp->rx_idx&RX_RING_DR_MOD_MASK;
intmin_pkt_len,status;
intnum_rx_pkt=0;
intmax_rx_pkt=NUM_RX_BUFFERS;
shortpkt_len;
#if AMD8111E_VLAN_TAG_USED
shortvtag;
#endif
/* If we own the next entry, it's a new packet. Send it up. */