summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/aureal.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pci/aureal.c')
-rw-r--r--sys/dev/sound/pci/aureal.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/aureal.c b/sys/dev/sound/pci/aureal.c
index 5b5e47c..9a9dd0a 100644
--- a/sys/dev/sound/pci/aureal.c
+++ b/sys/dev/sound/pci/aureal.c
@@ -73,6 +73,14 @@ static pcm_channel au_chantemplate = {
auchan_trigger,
auchan_getptr,
auchan_getcaps,
+ NULL, /* free */
+ NULL, /* nop1 */
+ NULL, /* nop2 */
+ NULL, /* nop3 */
+ NULL, /* nop4 */
+ NULL, /* nop5 */
+ NULL, /* nop6 */
+ NULL, /* nop7 */
};
/* -------------------------------------------------------------------- */
@@ -551,7 +559,6 @@ au_pci_probe(device_t dev)
static int
au_pci_attach(device_t dev)
{
- snddev_info *d;
u_int32_t data;
struct au_info *au;
int type[10];
@@ -644,7 +651,7 @@ au_pci_attach(device_t dev)
codec = ac97_create(dev, au, NULL, au_rdcd, au_wrcd);
if (codec == NULL) goto bad;
- if (mixer_init(d, &ac97_mixer, codec) == -1) goto bad;
+ if (mixer_init(dev, &ac97_mixer, codec) == -1) goto bad;
if (bus_dma_tag_create(/*parent*/NULL, /*alignment*/2, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
OpenPOWER on IntegriCloud