aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-05-26 17:34:11 +0100
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2011-06-15 13:23:37 +0200
commiteb47d7c5d96060040931c42773ee07e61e547af9 (patch)
treed9b5fd796bf72241d3c1271b90814ca152981cfc /cpus.c
parent953ffe0f935f40c0d6061d69e76e0339393b54f8 (diff)
hw/9118.c: Implement active-low interrupt support
The 9118 ethernet controller interrupt line is active low unless the IRQ config register is programmed to set both the IRQ_POL (polarity: active-high) and IRQ_TYPE (type: push-pull) bits: implement support for inverting the irq output in other configurations. This also requires that we support setting the bits in the first place, and that we correctly preserve them across software reset. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions