From e13d7931600ca98516985298a41cae9b242877e7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 23 Sep 2008 23:11:05 +0100 Subject: [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.) --- src/drivers/net/phantom/phantom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/drivers/net/phantom/phantom.c b/src/drivers/net/phantom/phantom.c index 5644c96d..a1313dc3 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 ); -- cgit v1.2.3-55-g7522