1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:57:45 +00:00

Kernel: Replace incorrect RTL8168 multicast config registers address

The specification uses awkward numbering, marking the first byte as 7,
and the last one as 0, which caused me to misunderstand their ordering,
and use the last byte's address as the first one, and so on.
This commit is contained in:
Idan Horowitz 2024-01-05 19:42:40 +02:00 committed by Andrew Kaster
parent c1ba3e5fa9
commit c5187c6bb3

View file

@ -15,8 +15,8 @@
namespace Kernel {
#define REG_MAC 0x00
#define REG_MAR4 0x0B
#define REG_MAR0 0x0F
#define REG_MAR0 0x08
#define REG_MAR4 0x0C
#define REG_EEE_LED 0x1B
#define REG_TXADDR 0x20
#define REG_COMMAND 0x37