LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Driver for DP83849C PHY chip needed (https://www.linuxquestions.org/questions/linux-newbie-8/driver-for-dp83849c-phy-chip-needed-859746/)

Niraj Kulkarni 01-31-2011 06:04 AM

Driver for DP83849C PHY chip needed
 
Hi,
I am working on DP83849C PHY chip.
I could see kernel driver for PCI based National semiconductor PHY chip like DP83810.
Can you let me know any driver exact/similar for DP83849C.

Regards
Niraj

Peacedog 01-31-2011 09:46 PM

Hi Niraj Kulkarni, Some Googling produced this thread:

http://www.linuxquestions.org/questi...p83849-857438/

It says basically that the DP83865 PHY driver is compatible or portable to DP83849, which in turn could help with the DP83849C. Other than that you might check National Semiconductors website for any available specs.

Good luck. ;-)

Niraj Kulkarni 02-23-2011 04:01 AM

Hi all,
With the help of "Software for Intel® EP80579 Integrated Processor Product Line" I could bring up the
PHY chip. Following things i did not follow as given in pdf above:
1. Set the "IEGBE_10_100_ONLY" option in Makefile ,
2. Change the phy->addr from 0 to 1 , 1 to 2.

I could see that the link os going up, with MAC 0 of DP80579 , phy-addr = 0:

eth0 Link encap:Ethernet HWaddr 00:0E:0C:DD:F9:EE
inet addr:192.168.121.131 Bcast:192.168.121.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:320 (320.0 B)
Base address:0x1020 Memory:42060000-42080000

cat /proc/interrupt gives:

193: 112 PCI-MSI eth0

But could not receive the "ping" reply.
Even on wire shark i could not see that my board is sending any ICMP request.
Can any one tell me why reply to ping is coming/going out of the PHY chip.
Niraj

Niraj Kulkarni 03-23-2011 12:38 AM

Hi all,
Finally it worked.
Please note that DP83849C PHY chip has a EEPROM interface also. It is very important to write CORRECT data into the eeprom , bcoz the PHY chip reads this eeprom at boot up.
The CORRECT data include : MAC id and activation code for a perticulat MAC inside the PHY chip (read Wake on LAN Hardware Implementation Utilizing the Intel® EP80579 Integrated Processor Product Line)to get the CORRECT data.

Thanks.


All times are GMT -5. The time now is 10:03 PM.