Переглянути джерело

[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 15 роки тому
джерело
коміт
e13d793160
1 змінених файлів з 0 додано та 2 видалено
  1. 0
    2
      src/drivers/net/phantom/phantom.c

+ 0
- 2
src/drivers/net/phantom/phantom.c Переглянути файл

@@ -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
 

Завантаження…
Відмінити
Зберегти