snd_mpu401_uart_new — create an MPU401-UART instance
int snd_mpu401_uart_new ( | struct snd_card * card, |
int device, | |
unsigned short hardware, | |
unsigned long port, | |
unsigned int info_flags, | |
int irq, | |
struct snd_rawmidi ** rrawmidi) ; |
card
the card instance
device
the device index, zero-based
hardware
the hardware type, MPU401_HW_XXXX
port
the base address of MPU401 port
info_flags
bitflags MPU401_INFO_XXX
irq
the ISA irq number, -1 if not to be allocated
rrawmidi
the pointer to store the new rawmidi instance