git: 847031e374c5 - stable/15 - snd_uaudio: Rename umidi_probe() to umidi_attach()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Mar 2026 09:54:54 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=847031e374c53b804ff09adf5f5956b0f268bedd
commit 847031e374c53b804ff09adf5f5956b0f268bedd
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:30:42 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-31 09:53:15 +0000
snd_uaudio: Rename umidi_probe() to umidi_attach()
This performs an attach, not probe.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55900
(cherry picked from commit e67dbccc70046a6f6d8f34c11fd01972b22920c5)
---
sys/dev/sound/usb/uaudio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index 7f49bae9ce5e..f0c3936a503f 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -556,7 +556,7 @@ static int umidi_open(struct usb_fifo *, int);
static int umidi_ioctl(struct usb_fifo *, u_long cmd, void *, int);
static void umidi_close(struct usb_fifo *, int);
static void umidi_init(device_t dev);
-static int umidi_probe(device_t dev);
+static int umidi_attach(device_t dev);
static int umidi_detach(device_t dev);
static int uaudio_hid_probe(struct uaudio_softc *sc,
struct usb_attach_arg *uaa);
@@ -1101,7 +1101,7 @@ uaudio_attach(device_t dev)
}
if (sc->sc_midi_chan.valid) {
- if (umidi_probe(dev)) {
+ if (umidi_attach(dev)) {
goto detach;
}
device_printf(dev, "MIDI sequencer.\n");
@@ -5987,7 +5987,7 @@ static struct usb_fifo_methods umidi_fifo_methods = {
};
static int
-umidi_probe(device_t dev)
+umidi_attach(device_t dev)
{
struct uaudio_softc *sc = device_get_softc(dev);
struct usb_attach_arg *uaa = device_get_ivars(dev);