Ignore:
Timestamp:
Nov 5, 2010, 4:01:49 PM (15 years ago)
Author:
markus
Message:

changed serial port setup (still not working ok), prolonged timeout during port reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/libc.c

    r26 r37  
    7575} com1_init_sequence[] = {
    7676  3, 0x80,   /* overlay divisor latch register at 0x3f8 and 0x3f9 */
    77   0, 0x00,   /* set low byte of divisor to 1 (115200 baud) */
    78   1, 0x01,   /* set high byte of divisor to 0 */
     77  0, 0x01,   /* set low byte of divisor to 1 (115200 baud) */
     78  1, 0x00,   /* set high byte of divisor to 0 */
    7979  3, 0x03,   /* reset divisor latch register overlay and set 8,n,1 */
    8080  1, 0x00,   /* disable interrupts */
     
    9494
    9595/******************************************************************************
    96  * Initialize COM1 to 57600,n,8,1
     96 * Initialize COM1 to 115200,n,8,1
    9797 */
    9898void init_com1(void)
Note: See TracChangeset for help on using the changeset viewer.