Soundblaster 64 PCI (ALDI PC) with Linux-2.1.128

Michael Mess (michael@kawo2.rwth-aachen.de)
Tue, 01 Dec 1998 19:35:20 +0100


Hi!

The same stuff in unified (diff -u) version. Is this good now?

--- es1371.c Tue Dec 1 10:04:48 1998
+++ /ibm/linux/linux/drivers/sound/es1371.c Thu Nov 5 18:58:46 1998
@@ -2676,12 +2676,10 @@

/*
--------------------------------------------------------------------- */

-static const struct initvols {
+static const struct initvol {
int mixch;
int vol;
-} /* initvols __initdata[] =
-
- struct initvols */ initvol[] = {
+} initvol[] __initdata = {
{ SOUND_MIXER_WRITE_LINE, 0x4040 },
{ SOUND_MIXER_WRITE_CD, 0x4040 },
{ MIXER_WRITE(SOUND_MIXER_VIDEO), 0x4040 },

greetings, Michael

Khimenko Victor wrote:
>
> 1-Dec-98 10:10 you wrote:
> > I successfully got sound out of the Soundblaster 64 PCI with the
> > es1371-driver. The es1370 didn't work properly on that machine.
> > The es1371-driver had some errors so it didn't compile, so I made some
> > modifications so that it compiled well.
> > The machine was bought from ALDI, a grocer in Germany who sometimes
> > sells some computers which are sold out within few hours.
> > It has got an Intel mainboard (Pentium II, 350 MHz) with a 8 MB RIVA AGP
> > graphics board and a Soundblaster 64 PCI onboard.
>
> > diff newfile oldfile
> > ------------------------------------------------------------------------
> > <michael@michael>:~>diff es1371.c
> > /ibm/linux/linux/drivers/sound/es1371.c
> > 2679c2679
> > < static const struct initvols {
> > ---
> >> static const struct initvol {
> > 2682,2684c2682
> > < } /* initvols __initdata[] =
> > <
> > < struct initvols */ initvol[] = {
> > ---
> >> } initvol[] __initdata = {
> > <michael@michael>:~>
> > ------------------------------------------------------------------------
>
> Next time PLEASE send unified diff !

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/