Diff for /src/sys/dev/sound/isa/i386/spkr/Attic/spkr.c between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:28:37 version 1.3, 2003/06/23 17:55:39
Line 5 Line 5
  * modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>   * modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
  *   *
  * $FreeBSD: src/sys/i386/isa/spkr.c,v 1.45 2000/01/29 16:00:32 peter Exp $   * $FreeBSD: src/sys/i386/isa/spkr.c,v 1.45 2000/01/29 16:00:32 peter Exp $
 * $DragonFly: src/sys/i386/isa/spkr.c,v 1.1 2003/06/16 06:19:40 dillon Exp $ * $DragonFly: src/sys/i386/isa/spkr.c,v 1.2 2003/06/17 04:28:37 dillon Exp $
  */   */
   
 #include <sys/param.h>  #include <sys/param.h>
Line 457  static int spkr_active = FALSE; /* exclu Line 457  static int spkr_active = FALSE; /* exclu
 static struct buf *spkr_inbuf;  /* incoming buf */  static struct buf *spkr_inbuf;  /* incoming buf */
   
 int  int
spkropen(dev, flags, fmt, p)spkropen(dev_t dev, int        flags, int fmt, struct thread *td)
        dev_t           dev; 
        int             flags; 
        int             fmt; 
        struct proc    *p; 
 {  {
 #ifdef DEBUG  #ifdef DEBUG
     (void) printf("spkropen: entering with dev = %s\n", devtoname(dev));      (void) printf("spkropen: entering with dev = %s\n", devtoname(dev));
Line 516  spkrwrite(dev, uio, ioflag) Line 512  spkrwrite(dev, uio, ioflag)
 }  }
   
 int  int
spkrclose(dev, flags, fmt, p)spkrclose(dev_t      dev, int flags, int fmt, struct thread *td)
        dev_t           dev; 
        int             flags; 
        int             fmt; 
        struct proc    *p; 
 {  {
 #ifdef DEBUG  #ifdef DEBUG
     (void) printf("spkrclose: entering with dev = %s\n", devtoname(dev));      (void) printf("spkrclose: entering with dev = %s\n", devtoname(dev));
Line 539  spkrclose(dev, flags, fmt, p) Line 531  spkrclose(dev, flags, fmt, p)
 }  }
   
 int  int
spkrioctl(dev, cmd, cmdarg, flags, p)spkrioctl(dev_t        dev, unsigned long cmd, caddr_t        cmdarg, int flags, struct thread*td)
        dev_t           dev; 
        unsigned long   cmd; 
        caddr_t         cmdarg; 
        int                flags; 
        struct proc    *p; 
 {  {
 #ifdef DEBUG  #ifdef DEBUG
     (void) printf("spkrioctl: entering with dev = %s, cmd = %lx\n",      (void) printf("spkrioctl: entering with dev = %s, cmd = %lx\n",

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