]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[phantom] Omit an initialisation step now performed by the firmware
authorMichael Brown <mcb30@etherboot.org>
Tue, 23 Sep 2008 22:11:05 +0000 (23:11 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 23 Sep 2008 22:11:05 +0000 (23:11 +0100)
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.)

src/drivers/net/phantom/phantom.c

index 5644c96dbd9581d2856fa02224d1ca5c7dd3eba0..a1313dc3b81b5c70d8ad7812ebaccfa7a016d6f1 100644 (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 );