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

version 1.3, 2003/06/23 17:55:39 version 1.4, 2003/07/06 21:23:49
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.2 2003/06/17 04:28:37 dillon Exp $ * $DragonFly: src/sys/i386/isa/spkr.c,v 1.3 2003/06/23 17:55:39 dillon Exp $
  */   */
   
 #include <sys/param.h>  #include <sys/param.h>
Line 98  tone(thz, ticks) Line 98  tone(thz, ticks)
         return;          return;
     }      }
     splx(sps);      splx(sps);
    disable_intr();    clock_lock();
     outb(TIMER_CNTR2, (divisor & 0xff));        /* send lo byte */      outb(TIMER_CNTR2, (divisor & 0xff));        /* send lo byte */
     outb(TIMER_CNTR2, (divisor >> 8));  /* send hi byte */      outb(TIMER_CNTR2, (divisor >> 8));  /* send hi byte */
    enable_intr();    clock_unlock();
   
     /* turn the speaker on */      /* turn the speaker on */
     outb(IO_PPI, inb(IO_PPI) | PPI_SPKR);      outb(IO_PPI, inb(IO_PPI) | PPI_SPKR);

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