2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-20 06:23:14 +00:00

[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.)
This commit is contained in:
Michael Brown 2008-09-23 23:11:05 +01:00
parent a2f9bf70d7
commit e13d793160

View File

@ -1692,8 +1692,6 @@ static int phantom_init_cmdpeg ( struct phantom_nic *phantom ) {
phantom_writel ( phantom, 0, UNM_CAM_RAM_COLD_BOOT );
/* Set port modes */
phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG,
UNM_CAM_RAM_PORT_MODE );
phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG_1G,
UNM_CAM_RAM_WOL_PORT_MODE );