diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-05-26 17:34:11 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-06-15 13:23:37 +0200 |
commit | eb47d7c5d96060040931c42773ee07e61e547af9 (patch) | |
tree | d9b5fd796bf72241d3c1271b90814ca152981cfc /hw/ppce500_mpc8544ds.c | |
parent | 953ffe0f935f40c0d6061d69e76e0339393b54f8 (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 'hw/ppce500_mpc8544ds.c')
0 files changed, 0 insertions, 0 deletions