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

« back to all changes in this revision

Viewing changes to drivers/net/wan/z85230.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:
542
542
                z8530_tx(chan);
543
543
                return;
544
544
        }
545
 
        /* This shouldnt occur in DMA mode */
 
545
        /* This shouldn't occur in DMA mode */
546
546
        printk(KERN_ERR "DMA tx - bogus event!\n");
547
547
        z8530_tx(chan);
548
548
}
1219
1219
 *      @io: the port value in question
1220
1220
 *
1221
1221
 *      Describe a Z8530 in a standard format. We must pass the I/O as
1222
 
 *      the port offset isnt predictable. The main reason for this function
 
1222
 *      the port offset isn't predictable. The main reason for this function
1223
1223
 *      is to try and get a common format of report.
1224
1224
 */
1225
1225
 
1588
1588
                unsigned long flags;
1589
1589
                
1590
1590
                /*
1591
 
                 *      Complete this DMA. Neccessary to find the length
 
1591
                 *      Complete this DMA. Necessary to find the length
1592
1592
                 */             
1593
1593
                 
1594
1594
                flags=claim_dma_lock();
1657
1657
                 *      fifo length for this. Thus we want to flip to the new
1658
1658
                 *      buffer and then mess around copying and allocating
1659
1659
                 *      things. For the current case it doesn't matter but
1660
 
                 *      if you build a system where the sync irq isnt blocked
 
1660
                 *      if you build a system where the sync irq isn't blocked
1661
1661
                 *      by the kernel IRQ disable then you need only block the
1662
1662
                 *      sync IRQ for the RT_LOCK area.
1663
1663
                 *