1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 17:27:35 +00:00

Kernel: Simplify PCI messages on initialization

This commit is contained in:
Liav A 2020-04-09 20:14:47 +03:00 committed by Andreas Kling
parent 871d450b93
commit caa7a6c2fb
2 changed files with 5 additions and 2 deletions

View file

@ -60,7 +60,7 @@ void initialize()
IOAccess::initialize();
enumerate_all([&](const Address& address, ID id) {
klog() << "PCI: Device @ " << String::format("%w", address.seg()) << ":" << String::format("%b", address.bus()) << ":" << String::format("%b", address.slot()) << "." << String::format("%d", address.function()) << " [" << String::format("%w", id.vendor_id) << ":" << String::format("%w", id.device_id) << "]";
klog() << address << " " << id;
E1000NetworkAdapter::detect(address);
RTL8139NetworkAdapter::detect(address);
});