1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

PCI: Enable LogStream output for addresses

This commit is contained in:
Liav A 2020-03-08 17:33:51 +02:00 committed by Andreas Kling
parent 032ce1948e
commit 8639ee2640
3 changed files with 8 additions and 2 deletions

View file

@ -146,7 +146,7 @@ RTL8139NetworkAdapter::RTL8139NetworkAdapter(PCI::Address address, u8 irq)
m_tx_buffers.ensure_capacity(RTL8139_TX_BUFFER_COUNT);
set_interface_name("rtl8139");
klog() << "RTL8139: Found at PCI address " << String::format("%w", pci_address().seg()) << ":" << String::format("%b", pci_address().bus()) << ":" << String::format("%b", pci_address().slot()) << "." << String::format("%b", pci_address().function());
klog() << "RTL8139: Found @ " << pci_address();
enable_bus_mastering(pci_address());