Ask Your Question

How to build integrate the latest ethernet PHY chip driver for oder version of linux kernel?

asked 2017-06-29 06:07:41 -0500

I want to compile and integrate driver code for our new DP82848 PHY chip from Texas Instruments in our Linux kernel running on power pc target. The kernel version that we use on our target is This is very old version of kernel and probably the reason I keep getting compilation errors while compiling the driver code. Can somebody suggest me the kernel version that I should use to build this driver successfully for our target PPC processor?

Thanks, Sachin

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-06-29 14:09:45 -0500

ssieb gravatar image

I'm wondering why you're posting this on the Fedora question forum, since it appears you're not running it. Or are you trying to cross-compile it?

Anyway, according to the TI site, the driver for that chip is in the mainline Linux kernel tree. I checked that and the driver has been there since 2015-10-22. Any kernel from around that time until now will automatically support that chip.

edit flag offensive delete link more

answered 2017-06-30 00:20:59 -0500


Thanks for your response. You guessed it right. I am trying to cross compile using Fedore Core 4 to build kernel for our target with PHY driver support. Since we cannot upgrade our target kernel to the one when the TI driver support was added to the mainline kernel I was wondering if there is a any other way to make this new driver work with our older kernel version.

edit flag offensive delete link more


I expect that it will be very difficult to do that as the kernel internals have changed a lot since the 2.6 time. You would pretty much have to rewrite the driver within the old kernel frameworks. Why can't you just bring your target system up to date?

ssieb gravatar imagessieb ( 2017-06-30 12:53:56 -0500 )edit

I actually tried building the new driver as per the older framework and it looks to be a daunting task to make it work since I keep getting errors which I am trying to fix bu updating to the latest phy drivers headers. Upgrading to the latest kernel will call for a lot of additional work to handle compatibility issues with our old board which we currently want to avoid. But I feel it would be relatively more easier task than changing the new driver code as per the older format.

sgosavi1 gravatar imagesgosavi1 ( 2017-07-05 00:30:37 -0500 )edit

Question Tools


Asked: 2017-06-29 06:07:41 -0500

Seen: 101 times

Last updated: Jun 29 '17