hisilicon #
hisilicon #
hisilicon # mii info // 默认网络没有使能,所以读取不到网卡硬件信息
NULL device name!
...................................
NULL device name!
hisilicon #
hisilicon #
hisilicon # ping 192.168.200.138 // 执行网络操作,使能PHY后才能读到RTL8306E的硬件信息
MAC: 00-00-DC-21-D3-C2
host 192.168.200.138 is alive
hisilicon # mii info
PHY 0x00: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
PHY 0x01: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
PHY 0x02: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x03: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x04: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x05: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
PHY 0x06: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
hisilicon #
hisilicon # mii read 0 0 // PHY_ID_0__REG0 处于网络连接状态时读到的控制信息
3100
hisilicon # mii read 0 1 // PHY_ID_0__REG1 处于网络连接状态时读到的状态信息
786D
hisilicon # mii read 0 2 // ID1
001C
hisilicon # mii read 0 3 // ID2
C852
hisilicon # mii read 1 0 // PHY_ID_1__REG0 处于无网络连接状态时读到的控制信息
1000
hisilicon # mii read 1 1 // PHY_ID_1__REG1 处于无网络连接状态时读到的状态信息
7849
hisilicon # mii read 1 0 // PHY_ID_1__REG0 处于有网络连接状态时读到的控制信息
3100
hisilicon # mii read 1 1 // PHY_ID_1__REG1 处于有网络连接状态时读到的状态信息
7869
REG0:
5432109876543210-----------RW
0001000000000000 0x1000
0011000100000000 0x3100---DEFAULT
--||---|--------------------Duplex Mode : 1: Full duplex operation/0: Half duplex operation
--||------------------------Auto Negotiation Enable: 1: Enable auto-negotiation process /0: Disable auto-negotiation process
--|-------------------------Speed Select : 1: 100Mbps / 0: 10Mbps
REG1:
5432109876543210------------RO
0111100001001001 0x7849----DEFAULT
0111100001101001 0x7869
0111100001101101 0x786D
----------|--|--------------Link Status: 1: Link is established. / 0: Link has failed
----------|-----------------Auto-negotiate Complete: 1: Auto-negotiation process completed.
// 内核驱动RTL8306E PHY的打印
[ 1.429534] STMMAC MII Bus: probed
[ 1.432946] eth0: PHY ID 001cc852 at 0 IRQ -6 (1:00) active
[ 1.438511] eth0: PHY ID 001cc852 at 1 IRQ 0 (1:01)
[ 1.443385] eth0: PHY ID 001cc852 at 2 IRQ 0 (1:02)
[ 1.448255] eth0: PHY ID 001cc852 at 3 IRQ 0 (1:03)
[ 1.453127] eth0: PHY ID 001cc852 at 4 IRQ 0 (1:04)
[ 1.457996] eth0: PHY ID 001cc852 at 5 IRQ 0 (1:05)
[ 1.462868] eth0: PHY ID 001cc852 at 6 IRQ 0 (1:06)
[ 1.468037] stmmac_reset: RESET COMPLETE!
// 内核驱动RTL8306E PHY的打印
阅读(2872) | 评论(1) | 转发(0) |