[BACK]Return to tartc.c CVS log [TXT][DIR] Up to [local] / funnyos / arch / testarm / dev

Diff for /funnyos/arch/testarm/dev/tartc.c between version 1.2 and 1.3

version 1.2, 2007/10/29 15:10:34 version 1.3, 2007/10/29 21:10:03
Line 13 
Line 13 
  * testarm Real Time Clock driver.   * testarm Real Time Clock driver.
  */   */
 int     tartc_attach(struct device *, uint32_t loc, uint8_t flags);  int     tartc_attach(struct device *, uint32_t loc, uint8_t flags);
   void    tartc_interrupt(struct device *);
   
   
 struct driver tartc_dr = {  struct driver tartc_dr = {
         sizeof(struct tartc_dd),          sizeof(struct tartc_dd),
         tartc_attach,          tartc_attach,
         NULL          NULL,
           tartc_interrupt
 };  };
   
   
Line 46 
Line 48 
         printf("testarm Real Time Clock (%d seconds past Epoch)\n", seconds);          printf("testarm Real Time Clock (%d seconds past Epoch)\n", seconds);
   
         return(0);          return(0);
   
   }
   
   
   void
   tartc_interrupt(struct device *self)
   {
           /* TODO */
   
 }  }
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb