ering->tx_max_pending = TX_RING_SIZE - 1; ering->tx_pending = lp->cur_tx - lp->dirty_tx; ering->rx_max_pending = RX_RING_SIZE - 1; ering->rx_pending = lp->cur_rx & RX_RING_MOD_MASK; 
ering->tx_max_pending = TX_MAX_RING_SIZE - 1; ering->tx_pending = lp->tx_ring_size - 1; ering->rx_max_pending = RX_MAX_RING_SIZE - 1; ering->rx_pending = lp->rx_ring_size - 1; 
static void pcnet32_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ering){    struct pcnet32_private *lp = dev->priv;    ering->tx_max_pending = TX_RING_SIZE - 1;    ering->tx_pending = lp->cur_tx - lp->dirty_tx;    ering->rx_max_pending = RX_RING_SIZE - 1;    ering->rx_pending = lp->cur_rx & RX_RING_MOD_MASK;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9/pcnet32.c/buggy/drivers/net/pcnet32.c