mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
ALSA: sscape: convert to firmware loader framework
The conversion solves the problem that firmware size was set to 64KB while non PnP cards have 128KB firmware files. An additional firmware initialization code has been moved from the OSS driver. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
f0968e3f7a
commit
acd4710091
@@ -1631,7 +1631,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
|
||||
Module snd-sscape
|
||||
-----------------
|
||||
|
||||
Module for ENSONIQ SoundScape PnP cards.
|
||||
Module for ENSONIQ SoundScape cards.
|
||||
|
||||
port - Port # (PnP setup)
|
||||
wss_port - WSS Port # (PnP setup)
|
||||
@@ -1640,9 +1640,9 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
|
||||
dma - DMA # (PnP setup)
|
||||
dma2 - 2nd DMA # (PnP setup, -1 to disable)
|
||||
|
||||
This module supports multiple cards. ISA PnP must be enabled.
|
||||
You need sscape_ctl tool in alsa-tools package for loading
|
||||
the microcode.
|
||||
This module supports multiple cards.
|
||||
|
||||
The driver requires the firmware loader support on kernel.
|
||||
|
||||
Module snd-sun-amd7930 (on sparc only)
|
||||
--------------------------------------
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
#ifndef SSCAPE_IOCTL_H
|
||||
#define SSCAPE_IOCTL_H
|
||||
|
||||
|
||||
struct sscape_bootblock
|
||||
{
|
||||
unsigned char code[256];
|
||||
unsigned version;
|
||||
};
|
||||
|
||||
#define SSCAPE_MICROCODE_SIZE 65536
|
||||
|
||||
struct sscape_microcode
|
||||
{
|
||||
unsigned char __user *code;
|
||||
};
|
||||
|
||||
#define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock)
|
||||
#define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode)
|
||||
|
||||
#endif
|
||||
+6
-2
@@ -372,9 +372,9 @@ config SND_SGALAXY
|
||||
|
||||
config SND_SSCAPE
|
||||
tristate "Ensoniq SoundScape driver"
|
||||
select SND_HWDEP
|
||||
select SND_MPU401_UART
|
||||
select SND_WSS_LIB
|
||||
select FW_LOADER
|
||||
help
|
||||
Say Y here to include support for Ensoniq SoundScape
|
||||
and Ensoniq OEM soundcards.
|
||||
@@ -382,7 +382,11 @@ config SND_SSCAPE
|
||||
The PCM audio is supported on SoundScape Classic, Elite, PnP
|
||||
and VIVO cards. The supported OEM cards are SPEA Media FX and
|
||||
Reveal SC-600.
|
||||
The MIDI support is very experimental.
|
||||
The MIDI support is very experimental and requires binary
|
||||
firmware files called "scope.cod" and "sndscape.co?" where the
|
||||
? is digit 0, 1, 2, 3 or 4. The firmware files can be found
|
||||
in DOS or Windows driver packages. One has to put the firmware
|
||||
files into the /lib/firmware directory.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called snd-sscape.
|
||||
|
||||
+107
-223
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user