Skip to content
Commit 14fdd90e authored by Mark Brown's avatar Mark Brown Committed by Jeff Garzik
Browse files

natsemi: Consistently use interrupt enable/disable functions



The natsemi drivers include functions for enabling and disabling
interrupts from the chip but these are not used in all code paths.  This
patch changes the code paths that touch the interrupt enable register to
use the functions.  In all cases this adds an extra PCI read to post the
operation but since none of these are in fast paths this shouldn't be
too much of a problem.

Signed-Off-By: default avatarMark Brown <broonie@sirena.org.uk>

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent b58ecad8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment