mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
f2ebf92c9e
This driver is glue between the USB gadget interface and the ALSA MIDI interface. It allows us to appear as a MIDI Streaming device to a host system on the other end of a USB cable. This includes linux/usb/audio.h and linux/usb/midi.h containing definitions from the relevant USB specifications for USB audio and USB MIDI devices. The following changes have been made since the first RFC posting: * Bug fixes to endpoint handling. * Workaround for USB_REQ_SET_CONFIGURATION handling, not understood yet. * Added SND and SND_RAWMIDI dependencies in Kconfig. * Moved usb_audio.h and usb_midi.h to usb/*.h * Added module parameters for ALSA card index and id. * Added module parameters for USB descriptor IDs and strings. * Removed some unneeded stuff inherited from zero.c, more to go. * Provide DECLARE_* macros for the variable-length structs. * Use kmalloc instead of usb_ep_alloc_buffer. * Limit source to 80 columns. * Return actual error code instead of -ENOMEM in a few places. Signed-off-by: Ben Williamson <ben.williamson@greyinnovation.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
34 lines
1008 B
Makefile
34 lines
1008 B
Makefile
#
|
|
# USB peripheral controller drivers
|
|
#
|
|
obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
|
|
obj-$(CONFIG_USB_NET2280) += net2280.o
|
|
obj-$(CONFIG_USB_PXA2XX) += pxa2xx_udc.o
|
|
obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
|
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
|
obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
|
|
obj-$(CONFIG_USB_AT91) += at91_udc.o
|
|
|
|
#
|
|
# USB gadget drivers
|
|
#
|
|
g_zero-objs := zero.o usbstring.o config.o epautoconf.o
|
|
g_ether-objs := ether.o usbstring.o config.o epautoconf.o
|
|
g_serial-objs := serial.o usbstring.o config.o epautoconf.o
|
|
g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o
|
|
gadgetfs-objs := inode.o
|
|
g_file_storage-objs := file_storage.o usbstring.o config.o \
|
|
epautoconf.o
|
|
|
|
ifeq ($(CONFIG_USB_ETH_RNDIS),y)
|
|
g_ether-objs += rndis.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB_ZERO) += g_zero.o
|
|
obj-$(CONFIG_USB_ETH) += g_ether.o
|
|
obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
|
|
obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o
|
|
obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
|
|
obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
|
|
|