lkml.org 
[lkml]   [2024]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next v3 10/12] net: ethernet: oa_tc6: implement mac-phy interrupt
Date
Hi Parthiban,

..

> +static irqreturn_t oa_tc6_macphy_isr(int irq, void *data)
> +{
> + struct oa_tc6 *tc6 = data;
> +
> + /* MAC-PHY interrupt can occur for the following reasons.
> + * - availability of tx credits if it was 0 before and not reported
> in
> + * the previous rx footer.

Per description above, it may be typo of "the previous rx footer"

> + * - availability of rx chunks if it was 0 before and not reported
> in
> + * the previous rx footer.
> + * - extended status event not reported in the previous rx footer.
> + */
> + tc6->int_flag = true;
> + /* Wake spi kthread to perform spi transfer */
> + wake_up_interruptible(&tc6->spi_wq);
> +
> + return IRQ_HANDLED;
> +}
> +


\
 
 \ /
  Last update: 2024-05-27 15:38    [W:0.383 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site