[Letux-kernel] jz4730 Ethernet

Paul Boddie paul at boddie.org.uk
Thu Mar 11 22:48:02 CET 2021

On Thursday, 11 March 2021 13:38:05 CET H. Nikolaus Schaller wrote:
> just a small note: mii does NOT depend on generic DMA working (only MMC does
> so far):
> The Ethernet MAC controller uses a dedicated DMA controller to transfer data
> between the Ethernet MAC module and the host memory.
> It is very similar to the DMA descriptors of the LCDC.
> And the jz4730 ethernet driver has code to do the setup of the buffers.

This is very promising and perhaps time-saving, too. I should really look at 
the manual and see what the details are.

> So I am working a little (while I should do other urgent things) on
> polishing the ethernet driver:
> 1. replace kernel threads by delayed_worker
> 2. replace printk/prerror() with dev_err()
> 3. fix whitespace and coding style
> 4. (try to) register access without strange macros with BASE

At some point, I will try and investigate a few details of the hardware again. 
I'm currently trying to make progress with various other, rather stubborn, 
matters that take up quite a bit of time and effort.


More information about the Letux-kernel mailing list