This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

howto use two GMAC

Hi.

we are using two emacs in our NVR product. our env is DM8168 DVRRDK_04.00.00.03

GMAC0 - RTL8306M (HUB)    phyid is 0~6

GMAC1 - RTL8211EG (LAN)   phyid is 7

first we enable GMAC0, 4port HUB, it works

    ifconfig eth0 192.168.1.33 up

    PHY: 0:06 - Link is Up - 100/Full

second we enable GMAC1,  LAN it not works.

net eth1: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=0:07, id=1cc915)
/mnt/usb1 # [rtl8211e_config_aneg]enter addr:0x7, mii_bus:d9eb3c00
PHY: 0:07 - Link is Up - 1000/Full

Because of this issue , i reboot the machine and only enable GMAC1 (disable GMAC 0) it works as follows.

/mnt/usb1 # ifconfig eth1 192.168.0.33 up
net eth1: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=0:07, id=1cc915)
/mnt/usb1 # [rtl8211e_config_aneg]enter addr:0x7, mii_bus:d9eb3c00
PHY: 0:07 - Link is Up - 100/Full

does anyone advice to me How to change Link up speed of GMAC1?

and any reference of use two GMAC?

i alreay read wiki , but it is not using two GMAC.

http://processors.wiki.ti.com/index.php?title=TI81XX_PSP_Ethernet_Switch_User_Guide#Bringing_Up_interfaces

Best Regards. CHO