diff options
author | Michael Brown | 2006-12-05 11:01:00 +0100 |
---|---|---|
committer | Michael Brown | 2006-12-05 11:01:00 +0100 |
commit | cb883b3fafa306cf3a695a8c579d4701fd5852b1 (patch) | |
tree | 6fa74d30a8296dfaf5c2f1c222755072a0f36a44 /src/drivers/net/etherfabric.c | |
parent | Avoid draining the keyboard buffer during gateA20_set(). It shouldn't (diff) | |
download | ipxe-cb883b3fafa306cf3a695a8c579d4701fd5852b1.tar.gz ipxe-cb883b3fafa306cf3a695a8c579d4701fd5852b1.tar.xz ipxe-cb883b3fafa306cf3a695a8c579d4701fd5852b1.zip |
Change some debugging messages to use DBG()
Diffstat (limited to 'src/drivers/net/etherfabric.c')
-rw-r--r-- | src/drivers/net/etherfabric.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c index b6ffc70c..a51d87f0 100644 --- a/src/drivers/net/etherfabric.c +++ b/src/drivers/net/etherfabric.c @@ -2878,10 +2878,10 @@ static int falcon_init_nic ( struct efab_nic *efab ) { } } - EFAB_LOG ( "NIC type: %s %dx%s\n", - efab->is_asic ? "ASIC" : "FPGA", - efab->is_dual ? 2 : 1, - efab->is_10g ? "10G" : "1G" ); + DBG ( "NIC type: %s %dx%s\n", + efab->is_asic ? "ASIC" : "FPGA", + efab->is_dual ? 2 : 1, + efab->is_10g ? "10G" : "1G" ); /* patch in MAC operations */ if ( efab->is_10g ) @@ -2904,9 +2904,9 @@ static int falcon_init_nic ( struct efab_nic *efab ) { efab->has_flash = EFAB_OWORD_FIELD ( reg, FCN_FLASH_PRESENT ); efab->has_eeprom = EFAB_OWORD_FIELD ( reg, FCN_EEPROM_PRESENT); } - EFAB_LOG ( "flash is %s, EEPROM is %s\n", - ( efab->has_flash ? "present" : "absent" ), - ( efab->has_eeprom ? "present" : "absent" ) ); + DBG ( "flash is %s, EEPROM is %s\n", + ( efab->has_flash ? "present" : "absent" ), + ( efab->has_eeprom ? "present" : "absent" ) ); falcon_init_spi ( efab ); /* Set up TX and RX descriptor caches in SRAM */ |