Browse Source

Change some debugging messages to use DBG()

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
cb883b3faf
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      src/drivers/net/etherfabric.c

+ 7
- 7
src/drivers/net/etherfabric.c View File

@@ -2878,10 +2878,10 @@ static int falcon_init_nic ( struct efab_nic *efab ) {
2878 2878
 		}
2879 2879
 	}
2880 2880
 
2881
-	EFAB_LOG ( "NIC type: %s %dx%s\n",
2882
-		   efab->is_asic ? "ASIC" : "FPGA",
2883
-		   efab->is_dual ? 2 : 1,
2884
-		   efab->is_10g ? "10G" : "1G" );
2881
+	DBG ( "NIC type: %s %dx%s\n",
2882
+	      efab->is_asic ? "ASIC" : "FPGA",
2883
+	      efab->is_dual ? 2 : 1,
2884
+	      efab->is_10g ? "10G" : "1G" );
2885 2885
 
2886 2886
 	/* patch in MAC operations */
2887 2887
 	if ( efab->is_10g )
@@ -2904,9 +2904,9 @@ static int falcon_init_nic ( struct efab_nic *efab ) {
2904 2904
 		efab->has_flash = EFAB_OWORD_FIELD ( reg, FCN_FLASH_PRESENT );
2905 2905
 		efab->has_eeprom = EFAB_OWORD_FIELD ( reg, FCN_EEPROM_PRESENT);
2906 2906
 	}
2907
-	EFAB_LOG ( "flash is %s, EEPROM is %s\n",
2908
-		   ( efab->has_flash ? "present" : "absent" ),
2909
-		   ( efab->has_eeprom ? "present" : "absent" ) );
2907
+	DBG ( "flash is %s, EEPROM is %s\n",
2908
+	      ( efab->has_flash ? "present" : "absent" ),
2909
+	      ( efab->has_eeprom ? "present" : "absent" ) );
2910 2910
 	falcon_init_spi ( efab );
2911 2911
 
2912 2912
 	/* Set up TX and RX descriptor caches in SRAM */

Loading…
Cancel
Save