Skip to content

Commit 6491145

Browse files
committed
[E1000] Implement OID_GEN_PHYSICAL_MEDIUM
1 parent 06034b2 commit 6491145

File tree

1 file changed

+7
-0
lines changed
  • drivers/network/dd/e1000

1 file changed

+7
-0
lines changed

drivers/network/dd/e1000/info.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ static NDIS_OID SupportedOidList[] =
3737
OID_802_3_PERMANENT_ADDRESS,
3838
OID_802_3_CURRENT_ADDRESS,
3939
OID_802_3_MAXIMUM_LIST_SIZE,
40+
OID_GEN_PHYSICAL_MEDIUM,
4041

4142
/* Statistics */
4243
OID_GEN_XMIT_OK,
@@ -239,6 +240,12 @@ MiniportQueryInformation(
239240
break;
240241
}
241242

243+
case OID_GEN_PHYSICAL_MEDIUM:
244+
{
245+
GenericInfo.Ulong = NdisPhysicalMedium802_3;
246+
break;
247+
}
248+
242249
default:
243250
NDIS_DbgPrint(MIN_TRACE, ("Unknown OID 0x%x(%s)\n", Oid, Oid2Str(Oid)));
244251
status = NDIS_STATUS_NOT_SUPPORTED;

0 commit comments

Comments
 (0)