From: Michael Brown Date: Tue, 23 Sep 2008 22:11:05 +0000 (+0100) Subject: [phantom] Omit an initialisation step now performed by the firmware X-Git-Tag: v0.9.4~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13d7931600ca98516985298a41cae9b242877e7;p=thirdparty%2Fipxe.git [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.) --- diff --git a/src/drivers/net/phantom/phantom.c b/src/drivers/net/phantom/phantom.c index 5644c96db..a1313dc3b 100644 --- a/src/drivers/net/phantom/phantom.c +++ b/src/drivers/net/phantom/phantom.c @@ -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 );