Changeset b41556e in rtems-libbsd


Ignore:
Timestamp:
Nov 12, 2013, 12:39:12 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
369e2c4
Parents:
b4d6afd
git-author:
Sebastian Huber <sebastian.huber@…> (11/12/13 12:39:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/13/13 13:10:35)
Message:

if_smc: Fix for level-triggered interrupts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/smc/if_smc.c

    rb4d6afd rb41556e  
    810810       
    811811        sc = (struct smc_softc *)context;
     812#ifdef __rtems__
     813        SMC_LOCK(sc);
     814        smc_select_bank(sc, 2);
     815        smc_write_1(sc, MSK, 0);
     816        SMC_UNLOCK(sc);
     817#endif /* __rtems__ */
    812818        taskqueue_enqueue_fast(sc->smc_tq, &sc->smc_intr);
    813819        return (FILTER_HANDLED);
Note: See TracChangeset for help on using the changeset viewer.