mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Use different wait channel name for second of two sleeps. Minor commentary
addition.
This commit is contained in:
parent
0f4481c5e4
commit
a9d4f3ded4
1 changed files with 2 additions and 2 deletions
|
|
@ -1226,7 +1226,7 @@ cbb_pcic_power_disable_socket(device_t brdev, device_t child)
|
|||
|
||||
DPRINTF(("cbb_pcic_socket_disable\n"));
|
||||
|
||||
/* Turn off the card's interrupt and leave it in reset */
|
||||
/* Turn off the card's interrupt and leave it in reset, wait 10ms */
|
||||
exca_putb(&sc->exca[0], EXCA_INTR, 0);
|
||||
pause("cbbP1", hz / 100);
|
||||
|
||||
|
|
@ -1235,7 +1235,7 @@ cbb_pcic_power_disable_socket(device_t brdev, device_t child)
|
|||
exca_putb(&sc->exca[0], EXCA_PWRCTL, 0);
|
||||
|
||||
/* wait 300ms until power fails (Tpf). */
|
||||
pause("cbbP1", hz * 300 / 1000);
|
||||
pause("cbbP2", hz * 300 / 1000);
|
||||
|
||||
/* enable CSC interrupts */
|
||||
exca_putb(&sc->exca[0], EXCA_INTR, EXCA_INTR_ENABLE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue