1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

Kernel/Net: Implement support for RTL8168C

Please be aware that I only have NIC with chip version 6 so
this is the only one that I have tested. Rest was implemented
via looking at Linux rtl8169 driver. Also thanks to IdanHo
for some initial work.
This commit is contained in:
mrkubax10 2024-02-18 20:07:39 +01:00 committed by Andrew Kaster
parent 15d6b3017a
commit eb0d56a4ed
2 changed files with 179 additions and 11 deletions

View file

@ -129,6 +129,7 @@ private:
StringView possible_device_name();
void reset();
void pci_commit();
void read_mac_address();
void set_phy_speed();
void start_hardware();
@ -137,6 +138,9 @@ private:
void configure_phy();
void configure_phy_b_1();
void configure_phy_b_2();
void configure_phy_c_1();
void configure_phy_c_2();
void configure_phy_c_3();
void configure_phy_e_2();
void configure_phy_h_1();
void configure_phy_h_2();
@ -146,6 +150,9 @@ private:
void hardware_quirks();
void hardware_quirks_b_1();
void hardware_quirks_b_2();
void hardware_quirks_c_1();
void hardware_quirks_c_2();
void hardware_quirks_c_3();
void hardware_quirks_e_2();
void hardware_quirks_h();