Messages in this thread Patch in this message | | | From | (Alan Cox) | Subject | Re: [2.2.0][PATCH] Fix for sound compile problem. | Date | Tue, 26 Jan 1999 11:03:17 +0000 (GMT) |
| |
> Hi, > This patch fixes the sound compile problem in 2.2.0: > > diff -urN linux-2.2.0/drivers/sound/sb_ess.c linux/drivers/sound/sb_ess.c > --- linux-2.2.0/drivers/sound/sb_ess.c Tue Jan 26 05:24:39 1999 > +++ linux/drivers/sound/sb_ess.c Tue Jan 26 07:30:38 1999 > @@ -162,7 +162,9 @@
This is probably cleaner ?
--- drivers/sound/sb_card.c~ Tue Jan 26 09:48:09 1999 +++ drivers/sound/sb_card.c Tue Jan 26 10:05:10 1999 @@ -113,6 +113,7 @@ } int sb_be_quiet=0; +int esstype = 0; /* ESS chip type */ #ifdef MODULE @@ -129,14 +130,13 @@ int io = -1; int irq = -1; int dma = -1; -int dma16 = -1; /* Set this for modules that need it */ -int type = 0; /* Can set this to a specific card type */ -int mad16 = 0; /* Set mad16=1 to load this as support for mad16 */ -int trix = 0; /* Set trix=1 to load this as support for trix */ -int pas2 = 0; /* Set pas2=1 to load this as support for pas2 */ +int dma16 = -1; /* Set this for modules that need it */ +int type = 0; /* Can set this to a specific card type */ +int mad16 = 0; /* Set mad16=1 to load this as support for mad16 */ +int trix = 0; /* Set trix=1 to load this as support for trix */ +int pas2 = 0; /* Set pas2=1 to load this as support for pas2 */ int sm_games = 0; /* Mixer - see sb_mixer.c */ -int acer = 0; /* Do acer notebook init */ -int esstype = 0; /* ESS chip type */ +int acer = 0; /* Do acer notebook init */ MODULE_PARM(io, "i"); MODULE_PARM(irq, "i"); - 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/
| |