X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/0f73e6cc9945f9b4a074bb62b9708d1751fa3723..8c06c883e7b13c115d5ff207f79d4b68fccd5ad6:/lunaix-os/hal/pci.c diff --git a/lunaix-os/hal/pci.c b/lunaix-os/hal/pci.c index 1f6cc3d..3e4a3fe 100644 --- a/lunaix-os/hal/pci.c +++ b/lunaix-os/hal/pci.c @@ -35,14 +35,14 @@ pci_log_device(struct pci_device* pcidev) struct device_def* binddef = pcidev->binding.def; if (!binddef) { - kprintf("pci.%d:%d:%d, no binding\n", + kprintf("pci.%d:%d:%d, no binding", PCILOC_BUS(loc), PCILOC_DEV(loc), PCILOC_FN(loc)); return; } - kprintf("pci.%d:%d:%d, dev.%xh:%xh.%d, %s\n", + kprintf("pci.%d:%d:%d, dev.%xh:%xh.%d, %s", PCILOC_BUS(loc), PCILOC_DEV(loc), PCILOC_FN(loc), @@ -98,7 +98,7 @@ pci_create_device(pciaddr_t loc, ptr_t pci_base, int devinfo) found: if (!pos->devdef.bind) { - kprintf(KERROR "pci_loc:%x, (%xh:%xh.%d) unbindable\n", + kprintf(KERROR "pci_loc:%x, (%xh:%xh.%d) unbindable", loc, pos->devdef.class.fn_grp, pos->devdef.class.device, @@ -108,7 +108,7 @@ found: int errno = pos->devdef.bind(&pos->devdef, &device->dev); if (errno) { - kprintf(KERROR "pci_loc:%x, (%xh:%xh.%d) failed, e=%d\n", + kprintf(KERROR "pci_loc:%x, (%xh:%xh.%d) failed, e=%d", loc, pos->devdef.class.fn_grp, pos->devdef.class.device,