dice.c (2612e3bbc0386368a850140a6c9b990cd496a5ec) dice.c (ff7a0b4016cb349f9148d0bf9c664e604167128c)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * TC Applied Technologies Digital Interface Communications Engine driver
4 *
5 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
6 */
7
8#include "dice.h"

--- 378 unchanged lines hidden (view full) ---

387 // model ID (0x0000de) in its root/unit directory.
388 {
389 .match_flags = IEEE1394_MATCH_VENDOR_ID |
390 IEEE1394_MATCH_MODEL_ID,
391 .vendor_id = OUI_FOCUSRITE,
392 .model_id = 0x0000de,
393 .driver_data = (kernel_ulong_t)snd_dice_detect_focusrite_pro40_tcd3070_formats,
394 },
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * TC Applied Technologies Digital Interface Communications Engine driver
4 *
5 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
6 */
7
8#include "dice.h"

--- 378 unchanged lines hidden (view full) ---

387 // model ID (0x0000de) in its root/unit directory.
388 {
389 .match_flags = IEEE1394_MATCH_VENDOR_ID |
390 IEEE1394_MATCH_MODEL_ID,
391 .vendor_id = OUI_FOCUSRITE,
392 .model_id = 0x0000de,
393 .driver_data = (kernel_ulong_t)snd_dice_detect_focusrite_pro40_tcd3070_formats,
394 },
395 // Weiss DAC202: 192kHz 2-channel DAC
395 {
396 {
397 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
398 .vendor_id = OUI_WEISS,
399 .model_id = 0x000007,
400 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
401 },
402 // Weiss DAC202: 192kHz 2-channel DAC (Maya edition)
403 {
404 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
405 .vendor_id = OUI_WEISS,
406 .model_id = 0x000008,
407 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
408 },
409 // Weiss MAN301: 192kHz 2-channel music archive network player
410 {
411 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
412 .vendor_id = OUI_WEISS,
413 .model_id = 0x00000b,
414 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
415 },
416 // Weiss INT202: 192kHz unidirectional 2-channel digital Firewire face
417 {
418 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
419 .vendor_id = OUI_WEISS,
420 .model_id = 0x000006,
421 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
422 },
423 // Weiss INT203: 192kHz bidirectional 2-channel digital Firewire face
424 {
425 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
426 .vendor_id = OUI_WEISS,
427 .model_id = 0x00000a,
428 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
429 },
430 // Weiss ADC2: 192kHz A/D converter with microphone preamps and inputs
431 {
432 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
433 .vendor_id = OUI_WEISS,
434 .model_id = 0x000001,
435 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
436 },
437 // Weiss DAC2/Minerva: 192kHz 2-channel DAC
438 {
439 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
440 .vendor_id = OUI_WEISS,
441 .model_id = 0x000003,
442 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
443 },
444 // Weiss Vesta: 192kHz 2-channel Firewire to AES/EBU interface
445 {
446 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
447 .vendor_id = OUI_WEISS,
448 .model_id = 0x000002,
449 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
450 },
451 // Weiss AFI1: 192kHz 24-channel Firewire to ADAT or AES/EBU face
452 {
453 .match_flags = IEEE1394_MATCH_VENDOR_ID | IEEE1394_MATCH_MODEL_ID,
454 .vendor_id = OUI_WEISS,
455 .model_id = 0x000004,
456 .driver_data = (kernel_ulong_t)snd_dice_detect_weiss_formats,
457 },
458 {
396 .match_flags = IEEE1394_MATCH_VERSION,
397 .version = DICE_INTERFACE,
398 },
399 { }
400};
401MODULE_DEVICE_TABLE(ieee1394, dice_id_table);
402
403static struct fw_driver dice_driver = {

--- 23 unchanged lines hidden ---
459 .match_flags = IEEE1394_MATCH_VERSION,
460 .version = DICE_INTERFACE,
461 },
462 { }
463};
464MODULE_DEVICE_TABLE(ieee1394, dice_id_table);
465
466static struct fw_driver dice_driver = {

--- 23 unchanged lines hidden ---