nvkm_mc_intr(int irq, void *arg)
{
struct nvkm_mc *mc = arg;
- struct nvkm_device *device = mc->subdev.device;
+ struct nvkm_subdev *subdev = &mc->subdev;
+ struct nvkm_device *device = subdev->device;
const struct nvkm_mc_oclass *oclass = (void *)nv_object(mc)->oclass;
const struct nvkm_mc_intr *map = oclass->intr;
struct nvkm_subdev *unit;
}
if (stat)
- nv_error(mc, "unknown intr 0x%08x\n", stat);
+ nvkm_error(subdev, "unknown intr %08x\n", stat);
}
nvkm_wr32(device, 0x000140, 0x00000001);
if (mc->use_msi && oclass->msi_rearm) {
mc->use_msi = pci_enable_msi(device->pdev) == 0;
if (mc->use_msi) {
- nv_info(mc, "MSI interrupts enabled\n");
+ nvkm_debug(&mc->subdev, "MSI enabled\n");
oclass->msi_rearm(mc);
}
} else {