Changeset 426 for GPL/trunk/alsa-kernel/isa/gus/interwave.c
- Timestamp:
- May 9, 2009, 11:45:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/isa/gus/interwave.c
r410 r426 171 171 172 172 #if 0 173 printk( "i2c_setlines - 0x%lx <- %i,%i\n", port, ctrl, data);173 printk(KERN_DEBUG "i2c_setlines - 0x%lx <- %i,%i\n", port, ctrl, data); 174 174 #endif 175 175 outb((data << 1) | ctrl, port); … … 184 184 res = inb(port) & 1; 185 185 #if 0 186 printk( "i2c_getclockline - 0x%lx -> %i\n", port, res);186 printk(KERN_DEBUG "i2c_getclockline - 0x%lx -> %i\n", port, res); 187 187 #endif 188 188 return res; … … 198 198 res = (inb(port) & 2) >> 1; 199 199 #if 0 200 printk( "i2c_getdataline - 0x%lx -> %i\n", port, res);200 printk(KERN_DEBUG "i2c_getdataline - 0x%lx -> %i\n", port, res); 201 201 #endif 202 202 return res; … … 343 343 snd_gf1_poke(gus, local + 1, d + 1); 344 344 #if 0 345 printk("d = 0x%x, local = 0x%x, local + 1 = 0x%x, idx << 22 = 0x%x\n", 345 printk(KERN_DEBUG "d = 0x%x, local = 0x%x, " 346 "local + 1 = 0x%x, idx << 22 = 0x%x\n", 346 347 d, 347 348 snd_gf1_peek(gus, local), … … 357 358 } 358 359 #if 0 359 printk("sizes: %i %i %i %i\n", sizes[0], sizes[1], sizes[2], sizes[3]); 360 printk(KERN_DEBUG "sizes: %i %i %i %i\n", 361 sizes[0], sizes[1], sizes[2], sizes[3]); 360 362 #endif 361 363 } … … 411 413 (psizes[1] << 8) | psizes[0]; 412 414 #if 0 413 printk( "lmct = 0x%08x\n", lmct);415 printk(KERN_DEBUG "lmct = 0x%08x\n", lmct); 414 416 #endif 415 417 for (i = 0; i < ARRAY_SIZE(lmc); i++) 416 418 if (lmct == lmc[i]) { 417 419 #if 0 418 printk( "found !!! %i\n", i);420 printk(KERN_DEBUG "found !!! %i\n", i); 419 421 #endif 420 422 snd_gf1_write16(gus, SNDRV_GF1_GW_MEMORY_CONFIG, (snd_gf1_look16(gus, SNDRV_GF1_GW_MEMORY_CONFIG) & 0xfff0) | i);
Note:
See TracChangeset
for help on using the changeset viewer.