1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Kernel: Use AK::Span a bunch in the network adapter code

This commit is contained in:
Andreas Kling 2020-07-28 20:19:22 +02:00
parent fffc5896d8
commit f5ac4da993
12 changed files with 47 additions and 46 deletions

View file

@ -45,7 +45,7 @@ public:
E1000NetworkAdapter(PCI::Address, u8 irq);
virtual ~E1000NetworkAdapter() override;
virtual void send_raw(const u8*, size_t) override;
virtual void send_raw(ReadonlyBytes) override;
virtual bool link_up() override;
virtual const char* purpose() const override { return class_name(); }