浏览代码

[phantom] Omit an initialisation step now performed by the firmware

The firmware will now determine the right port mode on all cards, so
the PXE driver doesn't have to set it.  (Setting the port mode
apparently breaks some newer cards.)
tags/v0.9.4
Michael Brown 17 年前
父节点
当前提交
e13d793160
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      src/drivers/net/phantom/phantom.c

+ 0
- 2
src/drivers/net/phantom/phantom.c 查看文件

1692
 	phantom_writel ( phantom, 0, UNM_CAM_RAM_COLD_BOOT );
1692
 	phantom_writel ( phantom, 0, UNM_CAM_RAM_COLD_BOOT );
1693
 
1693
 
1694
 	/* Set port modes */
1694
 	/* Set port modes */
1695
-	phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG,
1696
-			 UNM_CAM_RAM_PORT_MODE );
1697
 	phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG_1G,
1695
 	phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG_1G,
1698
 			 UNM_CAM_RAM_WOL_PORT_MODE );
1696
 			 UNM_CAM_RAM_WOL_PORT_MODE );
1699
 
1697
 

正在加载...
取消
保存