ftgmac100: Change interrupt status when a DMA error occurs
authorCédric Le Goater <clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000 (14:21 +0200)
committerCédric Le Goater <clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000 (14:21 +0200)
commit9c30f092a0e2a05aa37a4f22d3109b9913a6caea
tree29176de747117ae2eb7f70a203c617739aa9f4eb
parentcf9f48d323cee4f3fc93ea8c292ecea8115b0eef
ftgmac100: Change interrupt status when a DMA error occurs

The model uses today the "Normal priority transmit buffer unavailable"
interrupt status which it is not appropriate. According to the Aspeed
specs, no interrupts are raised in that case. An "AHB error" status
seems like a better modeling choice for all implementations since it
is covered by the Linux kernel.

Cc: Frederic Konrad <konrad.frederic@yahoo.fr>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20200819100956.2216690-13-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/net/ftgmac100.c