diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-22 11:42:32 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-22 11:42:32 +0000 |
commit | c02b4fc9db3c3c1e263027382697b566127f66bb (patch) | |
tree | 11bd18488e360e5c1beeb9ccb852ef4489c3689a /src/drivers/trident/blade3d | |
parent | 27852aba6787617ca5656995cbc7e8ef0a3ea22c (diff) |
printk_foo -> printk(BIOS_FOO, ...)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/drivers/trident/blade3d')
-rw-r--r-- | src/drivers/trident/blade3d/blade3d.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/drivers/trident/blade3d/blade3d.c b/src/drivers/trident/blade3d/blade3d.c index 0bf81d60ec..e50d40514b 100644 --- a/src/drivers/trident/blade3d/blade3d.c +++ b/src/drivers/trident/blade3d/blade3d.c @@ -777,7 +777,7 @@ static int init9880(void) //if chip revB if (CHIPREV == 0x02) { - printk_debug("blade3d: chip revision B\n"); + printk(BIOS_DEBUG, "blade3d: chip revision B\n"); outp(Port_CRX, 0xc0); outp(Port_CRX + 1, 0x00); } @@ -805,7 +805,7 @@ static void config_OEM_regs(void) lpMode3_temp = &Mode3_temp[0]; lpInit_reg = &Init_reg[0]; - printk_debug("blade3d: config_OEM_regs()\n"); + printk(BIOS_DEBUG, "blade3d: config_OEM_regs()\n"); outp(Port_GRX, 0x24); outp(Port_GRX + 1, 0xe0); @@ -943,13 +943,13 @@ static void init_SGRAM(void) } } else { //SGRAM - printk_debug("blade3d: No SGRAM found.\n"); + printk(BIOS_DEBUG, "blade3d: No SGRAM found.\n"); } } static void config_video_memory(void) { - printk_debug("blade3d: Error: no video memory init\n"); + printk(BIOS_DEBUG, "blade3d: Error: no video memory init\n"); } static void set_video_mode(void) @@ -959,7 +959,7 @@ static void set_video_mode(void) lpDef_Reg_struct lpMode3_reg; lpMode3_reg = &Mode3_reg[0]; - printk_debug("blade3d: setting video mode\n"); + printk(BIOS_DEBUG, "blade3d: setting video mode\n"); outp(0x3c2, 0x67); for (i = 0; i < Length_Mode3_reg; i++) { if (lpMode3_reg[i].rPort == Port_BRX) { @@ -982,7 +982,7 @@ static void set_video_mode(void) static void set_font(void) { - printk_debug("blade3d: setting font (not implemented)\n"); + printk(BIOS_DEBUG, "blade3d: setting font (not implemented)\n"); } static void clear_MEM(void) @@ -1008,7 +1008,7 @@ static void clear_MEM(void) static void trident_blade3d_init(struct device *dev) { - printk_info("blade3d: initializing video card\n"); + printk(BIOS_INFO, "blade3d: initializing video card\n"); init9880(); } |