Changeset df49c60 in rtems for c/src/libchip/serial/ns16550_p.h


Ignore:
Timestamp:
Jun 12, 2000, 3:00:15 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
edeed26
Parents:
0ab65474
Message:

Merged from 4.5.0-beta3a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/ns16550_p.h

    r0ab65474 rdf49c60  
    133133 */
    134134
    135 #define NS16550_Baud(baud_rate) (115200/baud_rate)
     135#define NS16550_Baud(_clock, _baud_rate) \
     136  ((((_clock) == 0) ? 115200 : (_clock))/(_baud_rate))
    136137
    137138/*
Note: See TracChangeset for help on using the changeset viewer.