Go to the source code of this file.
|
| | MODULE_AUTHOR ("Michael T. Mayers") |
| |
| | MODULE_DESCRIPTION ("MOTU MidiTimePiece AV multiport MIDI") |
| |
| | MODULE_LICENSE ("GPL") |
| |
| | MODULE_SUPPORTED_DEVICE ("{{MOTU,MidiTimePiece AV multiport MIDI}}") |
| |
| | module_param (index, int, 0444) |
| |
| | MODULE_PARM_DESC (index,"Index value for MotuMTPAV MIDI.") |
| |
| | module_param (id, charp, 0444) |
| |
| | MODULE_PARM_DESC (id,"ID string for MotuMTPAV MIDI.") |
| |
| | module_param (port, long, 0444) |
| |
| | MODULE_PARM_DESC (port,"Parallel port # for MotuMTPAV MIDI.") |
| |
| | module_param (irq, int, 0444) |
| |
| | MODULE_PARM_DESC (irq,"Parallel IRQ # for MotuMTPAV MIDI.") |
| |
| | module_param (hwports, int, 0444) |
| |
| | MODULE_PARM_DESC (hwports,"Hardware ports # for MotuMTPAV MIDI.") |
| |
| #define MTPAV_IOBASE 0x378 |
| #define MTPAV_MAX_PORTS 8 |
| #define MTPAV_MODE_INPUT_OPENED 0x01 |
| #define MTPAV_MODE_INPUT_TRIGGERED 0x04 |
| #define MTPAV_MODE_OUTPUT_OPENED 0x02 |
| #define MTPAV_MODE_OUTPUT_TRIGGERED 0x08 |
| #define MTPAV_PIDX_ADAT 1 |
| #define MTPAV_PIDX_BROADCAST 2 |
| #define MTPAV_PIDX_COMPUTER 0 |
| #define NUMPORTS (0x12+1) |
| #define SND_MTPAV_DRIVER "snd_mtpav" |
| MODULE_AUTHOR |
( |
"Michael T. Mayers" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"MOTU MidiTimePiece AV multiport MIDI" |
| ) |
|
| module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
| module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
| module_param |
( |
hwports |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for MotuMTPAV MIDI." |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
port |
, |
|
|
"Parallel port # for MotuMTPAV MIDI." |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
irq |
, |
|
|
"Parallel IRQ # for MotuMTPAV MIDI." |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
hwports |
, |
|
|
"Hardware ports # for MotuMTPAV MIDI." |
|
|
) |
| |
| MODULE_SUPPORTED_DEVICE |
( |
"{{MOTU,MidiTimePiece AV multiport MIDI}}" |
| ) |
|