diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-30 19:48:31 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-01 00:51:49 +0100 |
commit | 5a951d62580820def21bfe21d7f95768cfa09ccd (patch) | |
tree | 7ec1004bc83e8241c873b6ae48c33a6b6ed4d5d3 /Kernel/Net | |
parent | 890d5e45ee7faac9881d9340533261a30eb001f9 (diff) | |
download | serenity-5a951d62580820def21bfe21d7f95768cfa09ccd.zip |
Kernel: Fix a few typos
Diffstat (limited to 'Kernel/Net')
-rw-r--r-- | Kernel/Net/RTL8168NetworkAdapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/RTL8168NetworkAdapter.cpp b/Kernel/Net/RTL8168NetworkAdapter.cpp index 8cb2ae5525..b3915084a7 100644 --- a/Kernel/Net/RTL8168NetworkAdapter.cpp +++ b/Kernel/Net/RTL8168NetworkAdapter.cpp @@ -1082,7 +1082,7 @@ void RTL8168NetworkAdapter::set_phy_speed() gigabyte_control |= ADVERTISE_1000_FULL; // 1000 mbit full duplex phy_out(PHY_REG_GBCR, gigabyte_control); - // restart auto-negotation with set advertisements + // restart auto-negotiation with set advertisements phy_out(PHY_REG_BMCR, BMCR_AUTO_NEGOTIATE | BMCR_RESTART_AUTO_NEGOTIATE); } @@ -1216,7 +1216,7 @@ void RTL8168NetworkAdapter::send_raw(ReadonlyBytes payload) free_descriptor.frame_length = payload.size() & 0x3FFF; free_descriptor.flags = free_descriptor.flags | TXDescriptor::Ownership; - out8(REG_TXSTART, TXSTART_START); // FIXME: this shouldnt be done so often, we should look into doing this using the watchdog timer + out8(REG_TXSTART, TXSTART_START); // FIXME: this shouldn't be done so often, we should look into doing this using the watchdog timer } void RTL8168NetworkAdapter::receive() |