PERFORCE change 124065 for review
Christopher Davis
loafier at FreeBSD.org
Wed Jul 25 04:01:38 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=124065
Change 124065 by loafier at chrisdsoc on 2007/07/25 04:01:17
Fixed typos in aureal.c
haven't tested
Affected files ...
.. //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c#5 edit
Differences ...
==== //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c#5 (text+ko) ====
@@ -76,13 +76,13 @@
static struct resource_spec au_res_spec_mem[] = {
{SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE},
- {SYS_RES_IRQ, 0, RF_ACTIVE | RF_SHARABLE},
+ {SYS_RES_IRQ, 0, RF_ACTIVE | RF_SHAREABLE},
{-1, 0, 0}
};
static struct resource_spec au_res_spec_io[] = {
{SYS_RES_IOPORT, PCIR_BAR(0), RF_ACTIVE},
- {SYS_RES_IRQ, 0, RF_ACTIVE | RF_SHARABLE},
+ {SYS_RES_IRQ, 0, RF_ACTIVE | RF_SHAREABLE},
{-1, 0, 0}
};
@@ -492,7 +492,7 @@
for (i=0; i<124; i++) au_wr4(au, AU_REG_RTBASE+(i<<2), 0xffffffff);
/* test */
- i=au_rd4(au, 0, 0x107c0);
+ i=au_rd4(au, 0x107c0);
if (i!=0xdeadbeef) device_printf(dev, "dma check failed: 0x%x\n", i);
/* install mixer */
@@ -531,7 +531,7 @@
}
static void
-au_destroy(device_t dev, au_info *sc)
+au_destroy(device_t dev, struct au_info *sc)
{
if (!sc)
return;
@@ -610,7 +610,7 @@
/*filter*/NULL, /*filterarg*/NULL,
/*maxsize*/AU_BUFFSIZE, /*nsegments*/1, /*maxsegz*/0x3ffff,
/*flags*/0, /*lockfunc*/busdma_lock_mutex,
- /*lockarg*/&Giant, &au->parent_dmat) != 0) {
+ /*lockarg*/&Giant, &sc->parent_dmat) != 0) {
device_printf(dev, "unable to create dma tag\n");
goto bad;
}
More information about the p4-projects
mailing list