Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sound/pci/ich.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static void | static void | ||||
ich_setstatus(struct sc_info *sc) | ich_setstatus(struct sc_info *sc) | ||||
{ | { | ||||
char status[SND_STATUSLEN]; | char status[SND_STATUSLEN]; | ||||
snprintf(status, SND_STATUSLEN, | snprintf(status, SND_STATUSLEN, | ||||
"at io 0x%lx, 0x%lx irq %ld bufsz %u %s", | "at io 0x%jx, 0x%jx irq %jd bufsz %u %s", | ||||
rman_get_start(sc->nambar), rman_get_start(sc->nabmbar), | rman_get_start(sc->nambar), rman_get_start(sc->nabmbar), | ||||
rman_get_start(sc->irq), sc->bufsz,PCM_KLDSTRING(snd_ich)); | rman_get_start(sc->irq), sc->bufsz,PCM_KLDSTRING(snd_ich)); | ||||
if (bootverbose && (sc->flags & ICH_DMA_NOCACHE)) | if (bootverbose && (sc->flags & ICH_DMA_NOCACHE)) | ||||
device_printf(sc->dev, | device_printf(sc->dev, | ||||
"PCI Master abort workaround enabled\n"); | "PCI Master abort workaround enabled\n"); | ||||
pcm_setstatus(sc->dev, status); | pcm_setstatus(sc->dev, status); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |