diff options
-rw-r--r-- | sys/arch/powerpc/mac/aed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/mac/aed.c b/sys/arch/powerpc/mac/aed.c index cd6e94c41a4..07cbba3e61c 100644 --- a/sys/arch/powerpc/mac/aed.c +++ b/sys/arch/powerpc/mac/aed.c @@ -117,6 +117,8 @@ aedattach(parent, self, aux) struct adb_attach_args *aa_args = (struct adb_attach_args *)aux; struct aed_softc *sc = (struct aed_softc *)self; + aed_sc = sc; + timeout_set(&sc->sc_repeat_ch, aed_kbdrpt, aed_sc); sc->origaddr = aa_args->origaddr; @@ -139,7 +141,6 @@ aedattach(parent, self, aux) sc->sc_open = 0; - aed_sc = sc; printf("ADB Event device\n"); |