Red Hat Bugzilla – Bug 436686
tg3.c does not build on sparc with > 2.6.18-53.el5
Last modified: 2009-01-20 15:21:12 EST
Description of problem:
linux-2.6-net-tg3-update-to-driver-version-3-76.patch adds a piece of code that
calls pci_device_to_OF_node, however that is NOT available in the sparc or
sparc64 code in the 18.104.22.168.el5 kernel.
It looks like pci_device_to_OF_node is available in sparc on newer kernel kernel
Inclusion of this patch is the problem.
Author: David S. Miller <firstname.lastname@example.org>
Date: Thu Mar 29 01:38:42 2007 -0700
[TG3]: Use pci_device_to_OF_node() on sparc.
And use CONFIG_SPARC instead of CONFIG_SPARC64 as the
Signed-off-by: David S. Miller <email@example.com>
Created attachment 304775 [details]
Johnny, please test this patch and let me know if you can now compile and use
tg3 on sparc. Thanks!
My test kernels have been updated to include a patch for this bugzilla.
Please test them and report back your results.
Did you ever test compilation on SPARC with my test kernels? You can grab them here:
Johnny, I could still use some feedback on my test kenels and how they are working (compiling) for you. Thanks!
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
You can download this test kernel from http://people.redhat.com/dzickus/el5
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.