Update of /cvsroot/alsa/alsa-driver/pcmcia/vx
In directory sc8-pr-cvs1:/tmp/cvs-serv20103
Modified Files:
vx_entry.c vxpocket.c vxpocket.h
Log Message:
added ibl module option to change IBL.
Index: vx_entry.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pcmcia/vx/vx_entry.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vx_entry.c 18 Feb 2003 16:17:48 -0000 1.5
+++ vx_entry.c 17 Mar 2003 09:07:31 -0000 1.6
@@ -139,6 +139,7 @@
vxp = (struct snd_vxpocket *)chip;
vxp->index = i;
vxp->hw_entry = hw;
+ chip->ibl.size = hw->ibl[i];
hw->card_list[i] = chip;
link = &vxp->link;
Index: vxpocket.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pcmcia/vx/vxpocket.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vxpocket.c 25 Feb 2003 15:09:31 -0000 1.4
+++ vxpocket.c 17 Mar 2003 09:07:31 -0000 1.5
@@ -57,6 +57,7 @@
static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
static unsigned int irq_mask = 0xffff;
static int irq_list[4] = { -1 };
+static int ibl[SNDRV_CARDS];
MODULE_PARM(index, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard.");
@@ -70,7 +71,10 @@
MODULE_PARM(irq_mask, "i");
MODULE_PARM_DESC(irq_mask, "IRQ bitmask for " CARD_NAME " soundcard.");
MODULE_PARM(irq_list, "1-4i");
-MODULE_PARM_DESC(irq_list, "List of Available interrupts for VXPocket soundcard.");
+MODULE_PARM_DESC(irq_list, "List of Available interrupts for " CARD_NAME "
soundcard.");
+MODULE_PARM(ibl, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
+MODULE_PARM_DESC(ibl, "Capture IBL size for " CARD_NAME " soundcard.");
+MODULE_PARM_SYNTAX(ibl, SNDRV_ENABLED);
/*
@@ -123,6 +127,7 @@
.enable_table = enable,
.irq_mask_p = &irq_mask,
.irq_list = irq_list,
+ .ibl = ibl,
/* h/w config */
.hardware = &vxp_hw,
Index: vxpocket.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pcmcia/vx/vxpocket.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vxpocket.h 9 Jan 2003 16:13:47 -0000 1.5
+++ vxpocket.h 17 Mar 2003 09:07:31 -0000 1.6
@@ -37,6 +37,7 @@
int *enable_table;
unsigned int *irq_mask_p;
int *irq_list;
+ int *ibl;
/* h/w config */
struct snd_vx_hardware *hardware;
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog