Changeset 76cec1e in mainline for arch/ia32/src/drivers/i8254.c


Ignore:
Timestamp:
2005-07-15T21:57:30Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4a4c5e3
Parents:
e41c47e
Message:

Huge indentation fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/drivers/i8254.c

    re41c47e r76cec1e  
    8484
    8585        do {
    86                 /* will read both status and count */
     86                /* will read both status and count */
    8787                outb(CLK_PORT4, 0xc2);
    8888                not_ok = (inb(CLK_PORT1)>>6)&1;
     
    110110        o2 |= inb(CLK_PORT1) << 8;
    111111
    112 
    113         CPU->delay_loop_const = ((MAGIC_NUMBER*LOOPS)/1000) / ((t1-t2)-(o1-o2)) +
    114                                     (((MAGIC_NUMBER*LOOPS)/1000) % ((t1-t2)-(o1-o2)) ? 1 : 0);
    115        
     112        CPU->delay_loop_const = ((MAGIC_NUMBER*LOOPS)/1000) / ((t1-t2)-(o1-o2)) + (((MAGIC_NUMBER*LOOPS)/1000) % ((t1-t2)-(o1-o2)) ? 1 : 0);
    116113
    117114        clk1 = rdtsc();
Note: See TracChangeset for help on using the changeset viewer.