diff options
Diffstat (limited to 'drivers/char/rocket_int.h')
-rw-r--r-- | drivers/char/rocket_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/rocket_int.h b/drivers/char/rocket_int.h index 55b8f2d71a96..c3aab522a456 100644 --- a/drivers/char/rocket_int.h +++ b/drivers/char/rocket_int.h | |||
@@ -42,7 +42,7 @@ typedef unsigned int DWordIO_t; | |||
42 | static inline void sOutB(unsigned short port, unsigned char value) | 42 | static inline void sOutB(unsigned short port, unsigned char value) |
43 | { | 43 | { |
44 | #ifdef ROCKET_DEBUG_IO | 44 | #ifdef ROCKET_DEBUG_IO |
45 | printk("sOutB(%x, %x)...", port, value); | 45 | printk(KERN_DEBUG "sOutB(%x, %x)...\n", port, value); |
46 | #endif | 46 | #endif |
47 | outb_p(value, port); | 47 | outb_p(value, port); |
48 | } | 48 | } |
@@ -50,7 +50,7 @@ static inline void sOutB(unsigned short port, unsigned char value) | |||
50 | static inline void sOutW(unsigned short port, unsigned short value) | 50 | static inline void sOutW(unsigned short port, unsigned short value) |
51 | { | 51 | { |
52 | #ifdef ROCKET_DEBUG_IO | 52 | #ifdef ROCKET_DEBUG_IO |
53 | printk("sOutW(%x, %x)...", port, value); | 53 | printk(KERN_DEBUG "sOutW(%x, %x)...\n", port, value); |
54 | #endif | 54 | #endif |
55 | outw_p(value, port); | 55 | outw_p(value, port); |
56 | } | 56 | } |
@@ -58,7 +58,7 @@ static inline void sOutW(unsigned short port, unsigned short value) | |||
58 | static inline void sOutDW(unsigned short port, unsigned long value) | 58 | static inline void sOutDW(unsigned short port, unsigned long value) |
59 | { | 59 | { |
60 | #ifdef ROCKET_DEBUG_IO | 60 | #ifdef ROCKET_DEBUG_IO |
61 | printk("sOutDW(%x, %lx)...", port, value); | 61 | printk(KERN_DEBUG "sOutDW(%x, %lx)...\n", port, value); |
62 | #endif | 62 | #endif |
63 | outl_p(cpu_to_le32(value), port); | 63 | outl_p(cpu_to_le32(value), port); |
64 | } | 64 | } |