Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2004 10:20:10 +0400
From:      "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
To:        "Doug White" <dwhite@gumbysoft.com>
Cc:        Mathew Kanner <mat@cnd.mcgill.ca>
Subject:   RE: dev/sound/pcm/sound.h shadows INTR_MPSAFE declaration
Message-ID:  <C192C8912E798F4399668791C8965190674FD6@mx.hhp.local>

next in thread | raw e-mail | index | archive | help
> > Today I've noticied that my driver is marked as Giant-locked:
>=20
> Is it actually MPSAFE?  If so, feel free to mark it as such,=20
> although pcm
> isn't fully locked yet, so we take no responsibility for any damage
> caused :)

Some sound drivers in -CURRENT allocate interrupts with INTR_MPSAFE.=20
The problem is that after including dev/sound/pcm/sound.h INTR_MPSAFE no =
longer equals to 512, but it is set to 0. And if sound driver interrupt =
was allocated as INTR_TYPE_AV|INTR_MPSAFE it will be marked only as =
INTR_TYPE_TTY.=20

Yuriy.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C192C8912E798F4399668791C8965190674FD6>