~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/pxa168_eth.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
462
462
 * pep - ETHERNET .
463
463
 * mac_addr - MAC address.
464
464
 * skip - if 1, skip this address.Used in case of deleting an entry which is a
465
 
 *        part of chain in the hash table.We cant just delete the entry since
 
465
 *        part of chain in the hash table.We can't just delete the entry since
466
466
 *        that will break the chain.We need to defragment the tables time to
467
467
 *        time.
468
468
 * rd   - 0 Discard packet upon match.
1273
1273
        wmb();
1274
1274
        wrl(pep, SDMA_CMD, SDMA_CMD_TXDH | SDMA_CMD_ERD);
1275
1275
 
1276
 
        stats->tx_bytes += skb->len;
 
1276
        stats->tx_bytes += length;
1277
1277
        stats->tx_packets++;
1278
1278
        dev->trans_start = jiffies;
1279
1279
        if (pep->tx_ring_size - pep->tx_desc_count <= 1) {