if_dwc: Use dwc_enable_mac in dwc_stop_locked
No functional changes intended
This commit is contained in:
parent
f368f4b109
commit
86c7bc68ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367879
@ -380,10 +380,7 @@ dwc_stop_locked(struct dwc_softc *sc)
|
||||
reg |= (MODE_FTF);
|
||||
WRITE4(sc, OPERATION_MODE, reg);
|
||||
|
||||
/* Stop transmitters */
|
||||
reg = READ4(sc, MAC_CONFIGURATION);
|
||||
reg &= ~(CONF_TE | CONF_RE);
|
||||
WRITE4(sc, MAC_CONFIGURATION, reg);
|
||||
dwc_enable_mac(sc, false);
|
||||
|
||||
/* Stop DMA RX */
|
||||
reg = READ4(sc, OPERATION_MODE);
|
||||
|
Loading…
Reference in New Issue
Block a user