[E1000] Implement OID_GEN_PHYSICAL_MEDIUM

This commit is contained in:
Timo Kreuzer
2025-05-21 17:08:55 +03:00
parent 99064a58d9
commit 4cb4eee23a

View File

@@ -37,6 +37,7 @@ static NDIS_OID SupportedOidList[] =
OID_802_3_PERMANENT_ADDRESS,
OID_802_3_CURRENT_ADDRESS,
OID_802_3_MAXIMUM_LIST_SIZE,
OID_GEN_PHYSICAL_MEDIUM,
/* Statistics */
OID_GEN_XMIT_OK,
@@ -239,6 +240,12 @@ MiniportQueryInformation(
break;
}
case OID_GEN_PHYSICAL_MEDIUM:
{
GenericInfo.Ulong = NdisPhysicalMedium802_3;
break;
}
default:
NDIS_DbgPrint(MIN_TRACE, ("Unknown OID 0x%x(%s)\n", Oid, Oid2Str(Oid)));
status = NDIS_STATUS_NOT_SUPPORTED;