LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-14-2014, 01:56 AM   #1
rabipaikaray
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
How to activate phyless linux ethernet driver


I was trying to activate Linux phyless Ethernet driver. There are no much information on net. I am using ARM based Linux kernel SOC is connected to a 1GBPS RGMII port back to back without having a real PHY. Came to know Linux has fixed phy support. Some of the files have used fixed_phy_add function. But still not getting clear idea how to activate. Any kind of help or pointer will really help here.
 
Old 01-16-2014, 03:51 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look for the example at http://lxr.free-electrons.com/source...e/m5272.c#L127 (at the end of file). You need to fill the structure with the parameters of the default parameters and you run fixed_phy_add. What kind of doubts do you have? Do you have any problems making it work?
 
Old 01-24-2014, 06:40 AM   #3
rabipaikaray
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mara View Post
Look for the example at http://lxr.free-electrons.com/source...e/m5272.c#L127 (at the end of file). You need to fill the structure with the parameters of the default parameters and you run fixed_phy_add. What kind of doubts do you have? Do you have any problems making it work?
Thanks for your reply .
I have a ARM based platform. Want to add the fixed phy properties in device tree file and hoping it would probe in driver to get the properties to call fix_phy_add with required phy properties. But not getting any idea would it be right place or not to call this. Another issue I have want to disable phy->irq for fixed phy.
 
Old 01-26-2014, 08:55 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If I understand correctly you want to check at the driver probe if the device tree has a special property for this device. It looks reasonable to me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to activate D-Link DGE530T Ethernet card am using Scientific linux alishazel Linux - Newbie 14 03-25-2010 09:03 AM
Unable to Activate Ethernet cards in Fedora 10 myasir_genious Linux - Software 2 11-04-2009 11:50 PM
getting ethernet card to activate on boot hindenbergbaby Linux - Newbie 3 07-24-2004 06:08 AM
Ethernet card will not activate tatham Linux - Hardware 2 10-05-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration