Page MenuHomeFreeBSD

D55900.id174209.diff
No OneTemporary

D55900.id174209.diff

diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -556,7 +556,7 @@
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 @@
}
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 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);

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 12:00 AM (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29920427
Default Alt Text
D55900.id174209.diff (907 B)

Event Timeline