DEV9: Move call to network backend reset

SMAP_R_EMAC3_TxMODE1_L is unrelated to resetting the adapter
This commit is contained in:
TheLastRar 2024-10-12 22:04:00 +01:00 committed by Ty
parent 18c492d9da
commit 6b2dc7a68c

View File

@ -287,6 +287,10 @@ void emac3_write(u32 addr)
switch (reg)
{
case SMAP_DsPHYTER_BMCR:
if (val & SMAP_PHY_BMCR_RST)
{
ad_reset();
}
val &= ~SMAP_PHY_BMCR_RST;
val |= 0x1;
break;