[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100727.204838.124048290.davem@davemloft.net>
Date: Tue, 27 Jul 2010 20:48:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: richard.rojfors@...agicore.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2] ks8842: Support DMA when accessed via timberdale
From: Richard Röjfors <richard.rojfors@...agicore.com>
Date: Wed, 28 Jul 2010 00:57:01 +0200
> This patch adds support for RX and TX DMA via the DMA API,
> this is only supported when the KS8842 is accessed via timberdale.
>
> There is no support for DMA on the generic bus interface it self,
> a state machine inside the FPGA is handling RX and TX transfers to/from
> buffers in the FPGA. The host CPU can do DMA to and from these buffers.
>
> The FPGA has to handle the RX interrupts, so these must be enabled in
> the ks8842 but not in the FPGA. The driver must not disable the RX interrupt
> that would mean that the data transfers into the FPGA buffers would stop.
>
> The host shall not enable TX interrupts since TX is handled by the FPGA,
> the host is notified by DMA callbacks when transfers are finished.
>
> Which DMA channels to use are added as parameters in the platform data struct.
>
> Signed-off-by: Richard Röjfors <richard.rojfors@...agicore.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists