From 5b218f078cf99eaada52fc9457d0e8fd06b8543a Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 8 Jul 2023 08:10:27 +0000 Subject: [PATCH] Add Motorcomm YT8531. ok jsing@, patrick@ --- sys/dev/mii/miidevs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/mii/miidevs.h b/sys/dev/mii/miidevs.h index 57ff8964702..65cdacffcb7 100644 --- a/sys/dev/mii/miidevs.h +++ b/sys/dev/mii/miidevs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: miidevs.h,v 1.135 2023/03/31 13:37:41 kettenis Exp $ */ +/* $OpenBSD: miidevs.h,v 1.136 2023/07/08 08:10:27 kettenis Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. @@ -79,6 +79,7 @@ #define MII_OUI_PLESSEYSEMI 0x046b40 /* Plessey Semi. */ #define MII_OUI_NATSEMI 0x080017 /* National Semi. */ #define MII_OUI_TI 0x080028 /* Texas Instruments */ +#define MII_OUI_MOTORCOMM 0x13d47a /* Motorcomm */ /* in the 79c873, AMD uses another OUI (which matches Davicom!) */ #define MII_OUI_xxALTIMA 0x000895 /* Altima */ @@ -396,6 +397,10 @@ #define MII_MODEL_MICREL_KSZ9031 0x0022 #define MII_STR_MICREL_KSZ9031 "KSZ9031 10/100/1000 PHY" +/* Motorcomm PHYs */ +#define MII_MODEL_MOTORCOMM_YT8531 0x0011 +#define MII_STR_MOTORCOMM_YT8531 "YT8531 10/100/1000 PHY" + /* Myson PHYs */ #define MII_MODEL_MYSON_MTD972 0x0000 #define MII_STR_MYSON_MTD972 "MTD972 10/100 PHY" -- 2.20.1