[BACK]Return to dcm.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / hp300 / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/hp300/dev/dcm.c between version 1.38 and 1.39

version 1.38, 1997/04/04 18:16:07 version 1.39, 1997/04/14 02:33:17
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
   
 /*  /*
  * Copyright (c) 1995, 1996 Jason R. Thorpe.  All rights reserved.   * Copyright (c) 1995, 1996, 1997 Jason R. Thorpe.  All rights reserved.
  * Copyright (c) 1988 University of Utah.   * Copyright (c) 1988 University of Utah.
  * Copyright (c) 1982, 1986, 1990, 1993   * Copyright (c) 1982, 1986, 1990, 1993
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 67 
Line 67 
   
 #include <machine/autoconf.h>  #include <machine/autoconf.h>
 #include <machine/cpu.h>  #include <machine/cpu.h>
   #include <machine/intr.h>
   
 #include <dev/cons.h>  #include <dev/cons.h>
   
Line 74 
Line 75 
 #include <hp300/dev/diovar.h>  #include <hp300/dev/diovar.h>
 #include <hp300/dev/diodevs.h>  #include <hp300/dev/diodevs.h>
 #include <hp300/dev/dcmreg.h>  #include <hp300/dev/dcmreg.h>
 #include <hp300/hp300/isr.h>  
   
 #ifndef DEFAULT_BAUD_RATE  #ifndef DEFAULT_BAUD_RATE
 #define DEFAULT_BAUD_RATE 9600  #define DEFAULT_BAUD_RATE 9600
Line 354  dcmattach(parent, self, aux)
Line 354  dcmattach(parent, self, aux)
         sc->sc_flags |= DCM_ACTIVE;          sc->sc_flags |= DCM_ACTIVE;
   
         /* Establish the interrupt handler. */          /* Establish the interrupt handler. */
         (void) isrlink(dcmintr, sc, ipl, ISRPRI_TTY);          (void) intr_establish(dcmintr, sc, ipl, IPL_TTY);
   
         if (dcmistype == DIS_TIMER)          if (dcmistype == DIS_TIMER)
                 dcmsetischeme(brd, DIS_RESET|DIS_TIMER);                  dcmsetischeme(brd, DIS_RESET|DIS_TIMER);

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

CVSweb <webmaster@jp.NetBSD.org>