1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +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

@ -83,7 +83,10 @@ struct ID {
return vendor_id != other.vendor_id || device_id != other.device_id;
}
};
inline const LogStream& operator<<(const LogStream& stream, const ID value)
{
return stream << "(" << String::format("%w", value.vendor_id) << ":" << String::format("%w", value.device_id) << ")";
}
struct Address {
public:
Address() {}