boot: driver chatter goes to the log; the console clears its margins
ACPI, DMI, SMP, xHCI, USB, I2C, NVMe, r8169 and ramdisk progress lines are kinfo now: in dmesg and on a verbose boot, off the screen of a working machine. Failures stay cprintf. vt_repaint also paints the strip right of the last column and below the last row, which kept the bottom of the X desktop after Ctrl+Alt+F-key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
This commit is contained in:
parent
f6c4b6377f
commit
c65bfa3fa3
16 changed files with 57 additions and 42 deletions
|
|
@ -341,7 +341,7 @@ usb_attach(struct usb_dev *dev)
|
|||
break;
|
||||
}
|
||||
|
||||
cprintf("usb: interface %d: class %d.%d protocol %d, %d endpoint%s%s%s%s\n",
|
||||
kinfo("usb: interface %d: class %d.%d protocol %d, %d endpoint%s%s%s%s\n",
|
||||
d->iface.bInterfaceNumber,
|
||||
d->iface.bInterfaceClass, d->iface.bInterfaceSubClass,
|
||||
d->iface.bInterfaceProtocol, d->iface.bNumEndpoints,
|
||||
|
|
@ -353,7 +353,7 @@ usb_attach(struct usb_dev *dev)
|
|||
usb_bind_all(d);
|
||||
|
||||
if(d->driver == 0){
|
||||
cprintf("usb: no driver for this interface\n");
|
||||
kinfo("usb: no driver for this interface\n");
|
||||
if(n > 0)
|
||||
d->in_use = 0; // nothing will ever use it; give it back
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue