Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sound/pci/solo.c
Show First 20 Lines • Show All 1,045 Lines • ▼ Show 20 Lines | #endif | ||||
goto no; | goto no; | ||||
if (sc->newspeed) | if (sc->newspeed) | ||||
ess_setmixer(sc, 0x71, 0x2a); | ess_setmixer(sc, 0x71, 0x2a); | ||||
if (mixer_init(dev, &solomixer_class, sc)) | if (mixer_init(dev, &solomixer_class, sc)) | ||||
goto no; | goto no; | ||||
snprintf(status, SND_STATUSLEN, "at io 0x%lx,0x%lx,0x%lx irq %ld %s", | snprintf(status, SND_STATUSLEN, "at io 0x%jx,0x%jx,0x%jx irq %jd %s", | ||||
rman_get_start(sc->io), rman_get_start(sc->sb), rman_get_start(sc->vc), | rman_get_start(sc->io), rman_get_start(sc->sb), rman_get_start(sc->vc), | ||||
rman_get_start(sc->irq),PCM_KLDSTRING(snd_solo)); | rman_get_start(sc->irq),PCM_KLDSTRING(snd_solo)); | ||||
if (pcm_register(dev, sc, 1, 1)) | if (pcm_register(dev, sc, 1, 1)) | ||||
goto no; | goto no; | ||||
pcm_addchan(dev, PCMDIR_REC, &esschan_class, sc); | pcm_addchan(dev, PCMDIR_REC, &esschan_class, sc); | ||||
pcm_addchan(dev, PCMDIR_PLAY, &esschan_class, sc); | pcm_addchan(dev, PCMDIR_PLAY, &esschan_class, sc); | ||||
pcm_setstatus(dev, status); | pcm_setstatus(dev, status); | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |