DragonFly BSD
DragonFly commits List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: emx: Fix "Missing Interrupt Following ICR read" errata


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Jul 2012 22:50:56 -0700 (PDT)

commit 4cb541ae0641a5658d7c5d6054559dd37c45ed42
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Jul 7 13:24:52 2012 +0800

    emx: Fix "Missing Interrupt Following ICR read" errata
    
    IMS should be set to 0 before reading ICR.  It should be noted that
    once IMS is 0, ICR.INT_ASSERTED will not be set, which is not mentioned
    in the datasheet.
    
    This errata exists on 82571, 82572, 82573, 82574 and 82583, while 82583
    is not covered by emx(4).  And the fix is needed only if the legacy
    interrupt is used and the interrupt line is shared with other devices.
    
    hw.emxX.irq.unshared tunable is added to give a hint to the driver that
    the legacy interrupt is not shared with other devices.

Summary of changes:
 sys/dev/netif/emx/if_emx.c |   59 +++++++++++++++++++++++++++++++++++++++++--
 sys/dev/netif/emx/if_emx.h |    2 +
 2 files changed, 58 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4cb541ae0641a5658d7c5d6054559dd37c45ed42


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]