Xilinx git tree, LLTemac driver
stephen.neuendorffer at xilinx.com
Wed Mar 5 03:24:53 EST 2008
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.
We've been following the migration pattern where drivers advertise platform devices *and* of devices. In ARCH=ppc, only platform devices will ever get created and bound to the driver. In ARCH=powerpc, only of devices will get created and bound.
Note that the ARCH=powerpc support is very new (and as evidenced by the bug you found, it hasn't been tested as much)...
If you have successes (or more failures), we'd appreciate hearing about them.
From: Magnus Hjorth [mailto:mh at omnisys.se]
Sent: Tue 3/4/2008 1:57 AM
To: linuxppc-embedded at ozlabs.org
Subject: Xilinx git tree, LLTemac driver
I'm trying to compile the Linux kernel from the Xilinx git tree
(linux-2.6-xlnx) and am having some trouble with the LLTemac driver, having
to do with MAC address settings.
There seems to be two routines getting the MAC address in different ways.
The xtenet_probe function tries to access an extern bd_t __res, the type
bd_t doesn't exist in the powerpc tree which causes the compilation to fail.
Then there is the xtenet_of_probe function which uses of_get_mac_address.
What confuses me is that both the regular and the OF driver is registered in
the xtenet_init function, I would have expected it to be either/or.
Can I expect under the powerpc arch and supplying a .dts file, that the
xtenet_probe function will never be called?
Magnus Hjorth, M.Sc.
Omnisys Instruments AB
SE-421 30 Västra Frölunda, SWEDEN
Phone: +46 31 734 34 09
Fax: +46 31 734 34 29
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linuxppc-embedded