Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2017 17:50:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220909] device_probe() isn't called for the midi device emu10kx
Message-ID:  <bug-220909-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220909

            Bug ID: 220909
           Summary: device_probe() isn't called for the midi device
                    emu10kx
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: yuri@rawbw.com

Driver declaration section in sys/dev/sound/pci/emu10kx-midi.c
> DRIVER_MODULE(snd_emu10kx_midi, emu10kx, emu_midi_driver, emu_midi_devcla=
ss, 0, 0);
> MODULE_DEPEND(snd_emu10kx_midi, snd_emu10kx, SND_EMU10KX_MINVER, SND_EMU1=
0KX_PREFVER, SND_EMU10KX_MAXVER);
> MODULE_DEPEND(snd_emu10kx_midi, sound, SOUND_MINVER, SOUND_PREFVER, SOUND=
_MAXVER);
is very similar to the section in sys/dev/sound/pci/emu10kx-pcm.c
> DRIVER_MODULE(snd_emu10kx_pcm, emu10kx, emu_pcm_driver, pcm_devclass, 0, =
0);
> MODULE_DEPEND(snd_emu10kx_pcm, snd_emu10kx, SND_EMU10KX_MINVER, SND_EMU10=
KX_PREFVER, SND_EMU10KX_MAXVER);
> MODULE_DEPEND(snd_emu10kx_pcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_=
MAXVER);
> MODULE_VERSION(snd_emu10kx_pcm, SND_EMU10KX_PREFVER);
yet the first probe function, emu_midi_probe(), is never called, and the se=
cond
one, emu_pcm_probe(), is called.

(I added print statements to both to determine this.)

Code from both C files is present in the kernel module.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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