-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[E1000] Implement OID_GEN_PHYSICAL_MEDIUM #8027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This OID is optional for NDIS miniport drivers, I believe the debug print should be muted instead. reactos/drivers/network/dd/e1000/info.c Line 275 in 8775cab
+if (Oid != OID_GEN_PHYSICAL_MEDIUM)
+{
NDIS_DbgPrint(MAX_TRACE, ("Query OID 0x%x(%s): Completed with status 0x%x (%d, %d)\n",
Oid, Oid2Str(Oid), status, *BytesWritten, *BytesNeeded));
+} |
@disean What's wrong with implementing an optional OID? |
Because it's meant more for Wi-Fi drivers. You're fixing the debug spam in a Vbox-specific environment setup, but not the root cause of it. |
It's meant for any kind of driver, because that is why the enum contains all those values.
Huh? The root cause of that debug print is the debug print due to it being unimplemented. If with "root cause" you mean the calling code should first use |
Purpose
Implement OID_GEN_PHYSICAL_MEDIUM in e1000 driver to silence annoying debug spam on VBox.
Testbot runs (Filled in by Devs)