diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-01 22:02:13 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-02 18:17:01 +0200 |
commit | 96e5fbb0dd128496378dbc404c2a894e49c1ac21 (patch) | |
tree | c5b38b9454bf69cf9b626bbabf93af5c9d8addd6 /sound/firewire/tascam/tascam.h | |
parent | 6f81ba19ace2282f2560f5ec3a827ec5370825cb (diff) | |
download | blackbird-op-linux-96e5fbb0dd128496378dbc404c2a894e49c1ac21.tar.gz blackbird-op-linux-96e5fbb0dd128496378dbc404c2a894e49c1ac21.zip |
ALSA: firewire-tascam: add proc node to show firmware information
TASCAM FireWire series has certain registers for firmware information.
This commit adds proc node to show the information.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/tascam/tascam.h')
-rw-r--r-- | sound/firewire/tascam/tascam.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/firewire/tascam/tascam.h b/sound/firewire/tascam/tascam.h index e12f8b55b8cd..9ecc5505723f 100644 --- a/sound/firewire/tascam/tascam.h +++ b/sound/firewire/tascam/tascam.h @@ -20,6 +20,7 @@ #include <sound/core.h> #include <sound/initval.h> +#include <sound/info.h> #include "../lib.h" @@ -43,4 +44,13 @@ struct snd_tscm { const struct snd_tscm_spec *spec; }; +#define TSCM_ADDR_BASE 0xffff00000000ull + +#define TSCM_OFFSET_FIRMWARE_REGISTER 0x0000 +#define TSCM_OFFSET_FIRMWARE_FPGA 0x0004 +#define TSCM_OFFSET_FIRMWARE_ARM 0x0008 +#define TSCM_OFFSET_FIRMWARE_HW 0x000c + +void snd_tscm_proc_init(struct snd_tscm *tscm); + #endif |