Search
lxdream.org :: lxdream :: r1075:1a21750d300c
lxdream 0.9.1
released Jun 29
Download Now
changeset1075:1a21750d300c
parent1074:397d77b6e346
child1076:18c164e8aec4
authornkeynes
dateFri Jul 31 13:45:32 2009 +1000 (11 years ago)
Remove or change the level of a bunch of INFO messages that shouldn't really
be INFO level
src/drivers/input_lirc.c
src/gdrom/ide.c
src/gdrom/nrg.c
src/loader.c
src/mem.c
src/plugin.c
src/pvr2/texcache.c
1.1 --- a/src/drivers/input_lirc.c Tue Jul 21 20:53:05 2009 +1000
1.2 +++ b/src/drivers/input_lirc.c Fri Jul 31 13:45:32 2009 +1000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: $
1.6 + * $Id$
1.7 *
1.8 * LIRC input device support
1.9 *
1.10 @@ -142,7 +142,6 @@
1.11 //loop through all queued commands
1.12 while ((ret = lirc_nextcode(&code)) == 0 && code != NULL)
1.13 {
1.14 - INFO("LIRC code (%s)", code);
1.15 //code contains id, repeat count, and keysym separated by spaces
1.16 gchar **code_split = g_strsplit(code, " ", 4);
1.17
2.1 --- a/src/gdrom/ide.c Tue Jul 21 20:53:05 2009 +1000
2.2 +++ b/src/gdrom/ide.c Fri Jul 31 13:45:32 2009 +1000
2.3 @@ -411,24 +411,24 @@
2.4 case IDE_FEAT_SET_TRANSFER_MODE:
2.5 switch( idereg.count & 0xF8 ) {
2.6 case IDE_XFER_PIO:
2.7 - INFO( "Set PIO default mode: %d", idereg.count&0x07 );
2.8 + DEBUG( "Set PIO default mode: %d", idereg.count&0x07 );
2.9 break;
2.10 case IDE_XFER_PIO_FLOW:
2.11 - INFO( "Set PIO Flow-control mode: %d", idereg.count&0x07 );
2.12 + DEBUG( "Set PIO Flow-control mode: %d", idereg.count&0x07 );
2.13 break;
2.14 case IDE_XFER_MULTI_DMA:
2.15 - INFO( "Set Multiword DMA mode: %d", idereg.count&0x07 );
2.16 + DEBUG( "Set Multiword DMA mode: %d", idereg.count&0x07 );
2.17 break;
2.18 case IDE_XFER_ULTRA_DMA:
2.19 - INFO( "Set Ultra DMA mode: %d", idereg.count&0x07 );
2.20 + DEBUG( "Set Ultra DMA mode: %d", idereg.count&0x07 );
2.21 break;
2.22 default:
2.23 - INFO( "Setting unknown transfer mode: %02X", idereg.count );
2.24 + DEBUG( "Setting unknown transfer mode: %02X", idereg.count );
2.25 break;
2.26 }
2.27 break;
2.28 default:
2.29 - WARN( "IDE: unimplemented feature: %02X", idereg.feature );
2.30 + DEBUG( "IDE: unimplemented feature: %02X", idereg.feature );
2.31 }
2.32 idereg.status = 0x50;
2.33 idereg.error = 0x00;
2.34 @@ -437,7 +437,7 @@
2.35 ide_raise_interrupt();
2.36 break;
2.37 default:
2.38 - WARN( "IDE: Unimplemented command: %02X", val );
2.39 + DEBUG( "IDE: Unimplemented command: %02X", val );
2.40 }
2.41 }
2.42
2.43 @@ -482,7 +482,7 @@
2.44 uint32_t lba, status;
2.45
2.46 /* Okay we have the packet in the command buffer */
2.47 - INFO( "ATAPI packet: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X",
2.48 + DEBUG( "ATAPI packet: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X",
2.49 cmd[0], cmd[1], cmd[2], cmd[3], cmd[4], cmd[5], cmd[6], cmd[7],
2.50 cmd[8], cmd[9], cmd[10], cmd[11] );
2.51
3.1 --- a/src/gdrom/nrg.c Tue Jul 21 20:53:05 2009 +1000
3.2 +++ b/src/gdrom/nrg.c Fri Jul 31 13:45:32 2009 +1000
3.3 @@ -197,10 +197,8 @@
3.4 fseek( f, -12, SEEK_END );
3.5 fread( &footer, sizeof(footer), 1, f );
3.6 if( GUINT32_FROM_BE(footer.v50.id) == NERO_V50_ID ) {
3.7 - INFO( "Loading Nero 5.0 image" );
3.8 fseek( f, GUINT32_FROM_BE(footer.v50.offset), SEEK_SET );
3.9 } else if( GUINT32_FROM_BE(footer.v55.id) == NERO_V55_ID ) {
3.10 - INFO( "Loading Nero 5.5+ image" );
3.11 fseek( f, (uint32_t)GUINT64_FROM_BE(footer.v55.offset), SEEK_SET );
3.12 } else {
3.13 /* Not a (recognized) Nero image */
4.1 --- a/src/loader.c Tue Jul 21 20:53:05 2009 +1000
4.2 +++ b/src/loader.c Fri Jul 31 13:45:32 2009 +1000
4.3 @@ -82,8 +82,7 @@
4.4 read( fd, buf, 8 );
4.5 if( memcmp( buf, iso_magic, 6 ) == 0 ) {
4.6 /* Alright, got it */
4.7 - INFO( "Loading ISO9660 filesystem from '%s'",
4.8 - filename );
4.9 + WARN( "ISO images not supported yet" );
4.10 }
4.11 }
4.12 } else if( memcmp( buf, "PK\x03\x04", 4 ) == 0 ) {
5.1 --- a/src/mem.c Tue Jul 21 20:53:05 2009 +1000
5.2 +++ b/src/mem.c Fri Jul 31 13:45:32 2009 +1000
5.3 @@ -277,7 +277,7 @@
5.4 total += len;
5.5 }
5.6 fclose( f );
5.7 - INFO( "Saved %d of %d bytes to %08X", total, length, start );
5.8 + DEBUG( "Saved %d of %d bytes to %08X", total, length, start );
5.9 return 0;
5.10 }
5.11
5.12 @@ -311,7 +311,7 @@
5.13 total += len;
5.14 }
5.15 fclose( f );
5.16 - INFO( "Loaded %d of %d bytes to %08X", total, length, start );
5.17 + DEBUG( "Loaded %d of %d bytes to %08X", total, length, start );
5.18 return 0;
5.19 }
5.20
6.1 --- a/src/plugin.c Tue Jul 21 20:53:05 2009 +1000
6.2 +++ b/src/plugin.c Fri Jul 31 13:45:32 2009 +1000
6.3 @@ -102,7 +102,7 @@
6.4 dlclose(so);
6.5 return FALSE;
6.6 }
6.7 - INFO("Loaded %s '%s'", plugin_type_string[plugin->type], plugin->name);
6.8 + DEBUG("Loaded %s '%s'", plugin_type_string[plugin->type], plugin->name);
6.9 return TRUE;
6.10 }
6.11
6.12 @@ -152,6 +152,6 @@
6.13 path = get_plugin_path();
6.14 }
6.15
6.16 - INFO( "Plugin directory: %s", path );
6.17 + DEBUG( "Plugin directory: %s", path );
6.18 return plugin_load_all( path );
6.19 }
7.1 --- a/src/pvr2/texcache.c Tue Jul 21 20:53:05 2009 +1000
7.2 +++ b/src/pvr2/texcache.c Fri Jul 31 13:45:32 2009 +1000
7.3 @@ -665,7 +665,6 @@
7.4
7.5 render_buffer_t texcache_get_render_buffer( uint32_t texture_addr, int mode, int width, int height )
7.6 {
7.7 - INFO( "Rendering to texture!" );
7.8 uint32_t texture_word = ((texture_addr >> 3) & 0x000FFFFF) | PVR2_TEX_UNTWIDDLED;
7.9 switch( mode ) {
7.10 case COLFMT_BGRA1555: texture_word |= PVR2_TEX_FORMAT_ARGB1555; break;
.