Changeset 48a22ed in rtems


Ignore:
Timestamp:
Jul 9, 2013, 4:15:57 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
52e44630
Parents:
155ea78
git-author:
Joel Sherrill <joel.sherrill@…> (07/09/13 16:15:57)
git-committer:
Joel Sherrill <joel.sherrill@…> (07/09/13 17:40:51)
Message:

libchip ns16550.c: Improve comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/ns16550.c

    r155ea78 r48a22ed  
    502502    /*
    503503     *  Set the baud rate
     504     *
     505     *  NOTE: When the Divisor Latch Access Bit (DLAB) is set to 1,
     506     *        the transmit buffer and interrupt enable registers
     507     *        turn into the LSB and MSB divisor latch registers.
    504508     */
    505509
    506510    (*setReg)(pNS16550, NS16550_LINE_CONTROL, SP_LINE_DLAB);
    507     /* XXX are these registers right? */
    508511    (*setReg)(pNS16550, NS16550_TRANSMIT_BUFFER, ulBaudDivisor&0xff);
    509512    (*setReg)(pNS16550, NS16550_INTERRUPT_ENABLE, (ulBaudDivisor>>8)&0xff);
Note: See TracChangeset for help on using the changeset viewer.