git: em: Fix "Missing Interrupt Following ICR read" errata
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Jul 6 22:50:56 PDT 2012
commit 87ab432b86e453c90716635848e7bad0045bd4f0
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sat Jul 7 13:47:43 2012 +0800
em: 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. And the fix
is needed only if the legacy interrupt is used and the interrupt line is
shared with other devices.
hw.emX.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/em/if_em.c | 66 ++++++++++++++++++++++++++++++++++++++++++---
sys/dev/netif/em/if_em.h | 2 +
2 files changed, 63 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/87ab432b86e453c90716635848e7bad0045bd4f0
--
DragonFly BSD source repository
More information about the Commits
mailing list