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
1 changed files with 4 additions and 0 deletions

View File

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