<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: Xilinx git tree, LLTemac driver</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Magnus,<BR>
<BR>
The change that broke the lltemac driver was very recent, you should be able to check out a slightly earlier version to avoid the problem.<BR>
<BR>
We've been following the migration pattern where drivers advertise platform devices *and* of devices.&nbsp; In ARCH=ppc, only platform devices will ever get created and bound to the driver.&nbsp; In ARCH=powerpc, only of devices will get created and bound.<BR>
<BR>
Note that the ARCH=powerpc support is very new (and as evidenced by the bug you found, it hasn't been tested as much)...<BR>
If you have successes (or more failures), we'd appreciate hearing about them.<BR>
<BR>
Steve<BR>
<BR>
-----Original Message-----<BR>
From: Magnus Hjorth [<A HREF="mailto:mh@omnisys.se">mailto:mh@omnisys.se</A>]<BR>
Sent: Tue 3/4/2008 1:57 AM<BR>
To: linuxppc-embedded@ozlabs.org<BR>
Cc: git<BR>
Subject: Xilinx git tree, LLTemac driver<BR>
<BR>
Hi,<BR>
<BR>
I'm trying to compile the Linux kernel from the Xilinx git tree<BR>
(linux-2.6-xlnx) and am having some trouble with the LLTemac driver, having<BR>
to do with MAC address settings.<BR>
<BR>
There seems to be two routines getting the MAC address in different ways.<BR>
The xtenet_probe function tries to access an extern bd_t __res, the type<BR>
bd_t doesn't exist in the powerpc tree which causes the compilation to fail.<BR>
Then there is the xtenet_of_probe function which uses of_get_mac_address.<BR>
<BR>
What confuses me is that both the regular and the OF driver is registered in<BR>
the xtenet_init function, I would have expected it to be either/or.<BR>
<BR>
Can I expect under the powerpc arch and supplying a .dts file, that the<BR>
xtenet_probe function will never be called?<BR>
<BR>
Best regards,<BR>
Magnus<BR>
<BR>
<BR>
--<BR>
<BR>
Magnus Hjorth, M.Sc.<BR>
Omnisys Instruments AB<BR>
Gruvgatan 8<BR>
SE-421 30&nbsp; Västra Frölunda, SWEDEN<BR>
Phone: +46 31 734 34 09<BR>
Fax: +46 31 734 34 29<BR>
<A HREF="http://www.omnisys.se">http://www.omnisys.se</A><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>