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

« back to all changes in this revision

Viewing changes to drivers/net/irda/ali-ircc.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:
76
76
static int  ali_ircc_init_43(ali_chip_t *chip, chipio_t *info);
77
77
static int  ali_ircc_init_53(ali_chip_t *chip, chipio_t *info);
78
78
 
79
 
/* These are the currently known ALi sourth-bridge chipsets, the only one difference
 
79
/* These are the currently known ALi south-bridge chipsets, the only one difference
80
80
 * is that M1543C doesn't support HP HDSL-3600
81
81
 */
82
82
static ali_chip_t chips[] =
1108
1108
        outb(lcr,                 iobase+UART_LCR); /* Set 8N1  */
1109
1109
        outb(fcr,                 iobase+UART_FCR); /* Enable FIFO's */
1110
1110
 
1111
 
        /* without this, the conection will be broken after come back from FIR speed,
 
1111
        /* without this, the connection will be broken after come back from FIR speed,
1112
1112
           but with this, the SIR connection is harder to established */
1113
1113
        outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase+UART_MCR);
1114
1114
        
1800
1800
        MessageCount = inb(iobase+ FIR_LSR)&0x07;
1801
1801
        
1802
1802
        if (MessageCount > 0)   
1803
 
                IRDA_DEBUG(0, "%s(), Messsage count = %d,\n", __func__ , MessageCount);
 
1803
                IRDA_DEBUG(0, "%s(), Message count = %d,\n", __func__ , MessageCount);
1804
1804
                
1805
1805
        for (i=0; i<=MessageCount; i++)
1806
1806
        {