zephyr/drivers
Sebastien Griffoul 8237d0f882 eth: Fix spurious interrupt issues
The ethernet driver generates a lot of spurious interrupts.
These spurious interrupts have two sources:

1) The Mac Management Counter (MMC) module generates a lot of interrupts
   (GMI - bit 27 of the status register). Unfortunately the Interrupt
   enable register doesn't allow us to enable/disable it (bit 27 is
   reserved). Therefore the only way to mask this interrupt is to mask
   all the MMC interrupts (register REG_MMC_RX_INTR_MASK,
   REG_MMC_TX_INTR_MASK and REG_MMC_RX_IPC_INTR_MASK). By default
   these interrupts are not masked.

2) The RX interrupt is not correctly acknowledged. According to the
   datasheet, NIS is a sticky bit and must be cleared (by writing 1
   to this bit) each time a corresponding bit, which causes NIS to
   be set, is cleared.

Change-Id: I2033973849d87cddc328c65d0d4ad36b5a0c934e
Signed-off-by: Sebastien Griffoul <sebastien.griffoul@intel.com>
2016-05-26 15:12:25 +00:00
..
adc Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
aio
bluetooth Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
clock_control Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
console console: shell: Add support for commands completion 2016-05-26 13:06:59 +00:00
counter Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
ethernet eth: Fix spurious interrupt issues 2016-05-26 15:12:25 +00:00
flash Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
gpio gpio: more TAB cleanup in Kconfig.dw 2016-05-25 18:11:03 -07:00
grove Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
i2c Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
ieee802154 Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
interrupt_controller Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
ipm
pci Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
pinmux Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
pwm Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
random Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
rtc
sensor Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
serial Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
shared_irq
spi Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
timer arc: fixes a missing declaration compile error 2016-05-26 02:15:06 +00:00
watchdog
Kconfig
Makefile