Changeset 65bf116 in multiio


Ignore:
Timestamp:
Oct 21, 2009, 5:02:29 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
8b61cb4
Parents:
09da44f
Message:

2009-10-21 Joel Sherrill <joel.sherrill@…>

  • main_pcmmio_din.c, main_pcmmio_irq.c: Adjust bit numbering difference.
Location:
pcmmio/original
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pcmmio/original/ChangeLog

    r09da44f r65bf116  
     12009-10-21      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * main_pcmmio_din.c, main_pcmmio_irq.c: Adjust bit numbering
     4        difference.
     5
    162009-10-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • pcmmio/original/main_pcmmio_din.c

    r09da44f r65bf116  
    3030 
    3131  for ( bit=0 ; bit<48 ; bit++ ) {
    32     dio[bit] = dio_read_bit(bit);
     32    dio[bit] = dio_read_bit(bit+1);
    3333  }
    3434}
  • pcmmio/original/main_pcmmio_irq.c

    r09da44f r65bf116  
    178178      interrupts++;
    179179      if ( do_din == true )
    180         printf( "%d %s irq pin %d @ %llx\n", elapsed, irq, sc, timestamp );
     180        printf( "%d %s irq pin %d @ %llx\n", elapsed, irq, sc - 1, timestamp );
    181181      else
    182182        printf( "%d %s irq\n", elapsed, irq );
Note: See TracChangeset for help on using the changeset viewer.