Quellcode durchsuchen

[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 vor 17 Jahren
Ursprung
Commit
e13d793160
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0
    2
      src/drivers/net/phantom/phantom.c

+ 0
- 2
src/drivers/net/phantom/phantom.c Datei anzeigen

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
 

Laden…
Abbrechen
Speichern