Fix a silly off my one error that caused crashes on resume in certain

circumstances.  The problem was only reported with -stable, but it's
obviously wrong in -current also.  MFC is forthcoming.

Submitted by:	doconnor@dsoft.com.au
This commit is contained in:
Scott Long 2002-08-29 15:06:26 +00:00
parent 872b3fe268
commit c02a39a15d

View File

@ -1281,9 +1281,9 @@ m3_pci_suspend(device_t dev)
/* Save the state of the ASSP */
for (i = REV_B_CODE_MEMORY_BEGIN; i <= REV_B_CODE_MEMORY_END; i++)
sc->savemem[++index] = m3_rd_assp_code(sc, i);
sc->savemem[index++] = m3_rd_assp_code(sc, i);
for (i = REV_B_DATA_MEMORY_BEGIN; i <= REV_B_DATA_MEMORY_END; i++)
sc->savemem[++index] = m3_rd_assp_data(sc, i);
sc->savemem[index++] = m3_rd_assp_data(sc, i);
/* Power down the card to D3 state */
m3_power(sc, 3);