Procházet zdrojové kódy

[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 před 15 roky
rodič
revize
e13d793160
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0
    2
      src/drivers/net/phantom/phantom.c

+ 0
- 2
src/drivers/net/phantom/phantom.c Zobrazit soubor

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

Načítá se…
Zrušit
Uložit