Use IPL_SOFTAUDIO.

This commit is contained in:
pk 2002-12-06 15:37:39 +00:00
parent 060fa93542
commit e093913db8
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: amd7930intr.s,v 1.19 2002/06/24 09:26:47 pk Exp $ */
/* $NetBSD: amd7930intr.s,v 1.20 2002/12/06 15:37:39 pk Exp $ */
/*
* Copyright (c) 1995 Rolf Grossmann.
* Copyright (c) 1992, 1993
@ -49,6 +49,7 @@
#include <machine/param.h>
#include <machine/asm.h>
#include <sparc/sparc/intreg.h>
#include <machine/intr.h>
#include <machine/psl.h>
#include <dev/ic/am7930reg.h>
@ -58,9 +59,9 @@
or %l6, IE_L4, %l6; \
stb %l6, [%l5 + %lo(INTRREG_VA)]
! raise(0,PIL_AUSOFT) ! NOTE: CPU#0 and PIL_AUSOFT=4
! raise(0,IPL_SOFTAUDIO) ! NOTE: CPU#0
#define AUDIO_SET_SWINTR_4M \
sethi %hi(1 << (16 + 4)), %l5; \
sethi %hi(PINTR_SINTRLEV(IPL_SOFTAUDIO)), %l5;\
set ICR_PI_SET, %l6; \
st %l5, [%l6]