Skip to contentSkip to conversation

33/37 alpha: add printk() KERN_ constants to

PATCH New James Nelson 1 participant 1 message Aug 30, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 33/37 alpha: add printk() KERN_ constants to

---

arch/alpha/kernel/sys_sio.c +3 -3
index a654014..e8d07b2 100644
@@ -88,7 +88,7 @@ #if defined(ALPHA_RESTORE_SRM_SETUP)
 	/* First, read and save the original setting. */
 	pci_bus_read_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60,
 				  &saved_config.orig_route_tab);
-	printk("%s: PIRQ original 0x%x new 0x%x\n", __FUNCTION__,
+	pr_info("%s: PIRQ original 0x%x new 0x%x\n", __FUNCTION__,
 	       saved_config.orig_route_tab, alpha_mv.sys.sio.route_tab);
 #endif
 
@@ -239,7 +239,7 @@ alphabook1_init_pci(void)
 			io_port = dev->resource[0].start;
 			ctest4 = inb(io_port+0x21);
 			if (!(ctest4 & 0x80)) {
-				printk("AlphaBook1 NCR init: setting"
+				pr_info("AlphaBook1 NCR init: setting"
 				       " burst disable\n");
 				outb(ctest4 | 0x80, io_port+0x21);
 			}
@@ -254,7 +254,7 @@ alphabook1_init_pci(void)
 	outb(0x0f, 0x3ce); outb(0x05, 0x3cf);   /* unlock PR0-4 */
 	outb(0x0b, 0x3ce); config = inb(0x3cf); /* read PR1 */
 	if ((config & 0xc0) != 0xc0) {
-		printk("AlphaBook1 VGA init: setting 1Mb memory\n");
+		pr_info("AlphaBook1 VGA init: setting 1Mb memory\n");
 		config |= 0xc0;
 		outb(0x0b, 0x3ce); outb(config, 0x3cf); /* write PR1 */
 	}

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors