Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sound/isa/mss.c
Context not available. | |||||
} | } | ||||
tmp &= 0x3f; | tmp &= 0x3f; | ||||
if (!(tmp == 0x04 || tmp == 0x0f || tmp == 0x00 || tmp == 0x05)) { | if (!(tmp == 0x04 || tmp == 0x0f || tmp == 0x00 || tmp == 0x05)) { | ||||
BVDDB(printf("No MSS signature detected on port 0x%lx (0x%x)\n", | BVDDB(printf("No MSS signature detected on port 0x%jx (0x%x)\n", | ||||
rman_get_start(mss->io_base), tmpx)); | rman_get_start(mss->io_base), tmpx)); | ||||
goto no; | goto no; | ||||
} | } | ||||
Context not available. | |||||
else | else | ||||
status2[0] = '\0'; | status2[0] = '\0'; | ||||
snprintf(status, SND_STATUSLEN, "at io 0x%lx irq %ld drq %d%s bufsz %u", | snprintf(status, SND_STATUSLEN, "at io 0x%jx irq %jd drq %d%s bufsz %u", | ||||
rman_get_start(mss->io_base), rman_get_start(mss->irq), pdma, status2, mss->bufsize); | rman_get_start(mss->io_base), rman_get_start(mss->irq), pdma, status2, mss->bufsize); | ||||
if (pcm_register(dev, mss, 1, 1)) goto no; | if (pcm_register(dev, mss, 1, 1)) goto no; | ||||
Context not available. |