plb_temac w/linux 2.6.18.1 driver init error
Rick Moleres
rick.moleres at xilinx.com
Thu Nov 2 10:48:45 EST 2006
Robert,
No, I'm not sure where gmii.h is. I see in the adapter.c delivered in
EDK 8.2.02i it includes linux/mii.h, but I don't see an include of
gmii.h. Perhaps you can incorporate this new adapter.c as well. I
believe gmii.h is a Linux 2.4 file (?).
-Rick
-----Original Message-----
From: Robert Corley [mailto:rcorley at aegis-inc.net]
Sent: Wednesday, November 01, 2006 4:41 PM
To: Rick Moleres
Cc: linux linuxppc-embedded
Subject: plb_temac w/linux 2.6.18.1 driver init error
Rick;
I see now what you were writing about. The IPIF registers for
controlling FIFO control (both xmit and rcv)
are not accessible when a DMA mode is used, as is shown on page 26 of
the plb_temac datasheet.
Examination of the drivers generated by the EDK show that a check for
the presence of a DMA engine
is done in xtemac.c to avoid incorrectly resetting a DMA-based
plb_temac; whereas, the drivers for
earlier versions of the plb_temac do not have this test.
Looks like I will have to incorporate the drivers generated by the
EDK8.2 into the linux tree.
Do you know where I might get the file "gmii.h" referenced in adapter.c?
-cy
More information about the Linuxppc-embedded
mailing list