]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: ax88796: add interrupt status callback to platform data
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Thu, 19 Apr 2018 02:05:23 +0000 (14:05 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 20:11:11 +0000 (16:11 -0400)
commit49068f97b7554d4970d8efc40897b5007f01b88e
treea8219ddcc38ff73456fcfdce012ef404f9bbc6dd
parent9b069dfd0922da269017ddcc43e7ab8ad0b9b18d
net-next: ax88796: add interrupt status callback to platform data

To be able to tell the ax88796 driver whether it is sensible to enter
the 8390 interrupt handler, an "is this interrupt caused by the 88796"
callback has been added to the ax_plat_data structure (with NULL being
compatible to the previous behaviour).

Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/ax88796.c
include/net/ax88796.h