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
|
|
@ -471,7 +471,7 @@ r8169_probe(struct pci_dev *d)
|
|||
// MSI first: every 8111 has it, and on the boards these are soldered to it
|
||||
// is the only interrupt that is sure to arrive. See pci_irq_attach().
|
||||
if (pci_irq_attach(d, r8169_intr, r, "r8169", 0) < 0)
|
||||
cprintf("r8169: no usable interrupt line; the link will be polled\n");
|
||||
kinfo("r8169: no usable interrupt line; the link will be polled\n");
|
||||
|
||||
r->ready = 1;
|
||||
|
||||
|
|
@ -487,7 +487,7 @@ r8169_probe(struct pci_dev *d)
|
|||
uint32 xid = (rd32(r, R_TCR) >> 20) & 0xFCF;
|
||||
int bmsr = mii_read(r, 1);
|
||||
|
||||
cprintf("r8169: xid %x, %x:%x:%x:%x:%x:%x, irq %d (%s), %s (bmsr %x)\n",
|
||||
kinfo("r8169: xid %x, %x:%x:%x:%x:%x:%x, irq %d (%s), %s (bmsr %x)\n",
|
||||
xid,
|
||||
r->mac[0], r->mac[1], r->mac[2], r->mac[3], r->mac[4], r->mac[5],
|
||||
d->irq_line, pci_irq_kind(d),
|
||||
|
|
|
|||
Loading…
Reference in a new issue