Date: Sun, 4 Apr 2004 13:33:22 +0400 (MSD) From: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> To: freebsd-current@freebsd.org Cc: Mathew Kanner <mat@cnd.mcgill.ca> Subject: dev/sound/pcm/sound.h shadows INTR_MPSAFE declaration Message-ID: <20040404125622.S1846@free.home.local>
next in thread | raw e-mail | index | archive | help
Today I've noticied that my driver is marked as Giant-locked:
-dmesg-
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Sat Apr 3 11:57:58 MSD 2004
chibis@free.home.local:/usr/obj/usr/src/sys/FREE-FAST
[..]
emu10kx0: <Creative EMU10K2 (Audigy)> port 0xd000-0xd01f irq 12 at device 10.0 on pci0
emu10kx0: [GIANT-LOCKED]
-dmesg-
because INTR_MPSAFE is defined to 0 in dev/sound/pcm/sound.h:
-sound.h-
/*
[...]
* $FreeBSD: src/sys/dev/sound/pcm/sound.h,v 1.57 2004/03/06 15:52:42 matk Exp $
*/
[...]
#ifndef INTR_MPSAFE
#define INTR_TYPE_AV INTR_TYPE_TTY
#endif
#ifndef INTR_MPSAFE
#define INTR_MPSAFE 0
#endif
-sound.h-
and there is no macro INTR_MPSAFE defined inside kernel (it is defined in
enum).
Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040404125622.S1846>
