mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Sigh. The fix to the suspend code wasn't complete, since the resume
code was broken in the same way. Submitted by: co9@xs4all.nl MFC after: 3 days
This commit is contained in:
parent
912f17daa2
commit
5ffa65f9ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102924
@ -1311,9 +1311,9 @@ m3_pci_resume(device_t dev)
|
||||
|
||||
/* Restore the ASSP state */
|
||||
for (i = REV_B_CODE_MEMORY_BEGIN; i <= REV_B_CODE_MEMORY_END; i++)
|
||||
m3_wr_assp_code(sc, i, sc->savemem[++index]);
|
||||
m3_wr_assp_code(sc, i, sc->savemem[index++]);
|
||||
for (i = REV_B_DATA_MEMORY_BEGIN; i <= REV_B_DATA_MEMORY_END; i++)
|
||||
m3_wr_assp_data(sc, i, sc->savemem[++index]);
|
||||
m3_wr_assp_data(sc, i, sc->savemem[index++]);
|
||||
|
||||
/* Restart the DMA engine */
|
||||
m3_wr_assp_data(sc, KDATA_DMA_ACTIVE, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user