Commit e20c06c0 authored by Tim Waugh's avatar Tim Waugh Committed by Linus Torvalds

[PATCH] 2.5.6-pre1: shut lp up

This patch makes lp quieter in the common case that a printer does
_not_ speak ECP. (People have been writing to me worried that the
message means something bad.)

2002-02-26  Tim Waugh  <twaugh@redhat.com>

	* drivers/char/lp.c: Be quiet.
parent 51828208
...@@ -476,7 +476,6 @@ static int lp_open(struct inode * inode, struct file * file) ...@@ -476,7 +476,6 @@ static int lp_open(struct inode * inode, struct file * file)
printk (KERN_INFO "lp%d: ECP mode\n", minor); printk (KERN_INFO "lp%d: ECP mode\n", minor);
lp_table[minor].best_mode = IEEE1284_MODE_ECP; lp_table[minor].best_mode = IEEE1284_MODE_ECP;
} else { } else {
printk (KERN_INFO "lp%d: compatibility mode\n", minor);
lp_table[minor].best_mode = IEEE1284_MODE_COMPAT; lp_table[minor].best_mode = IEEE1284_MODE_COMPAT;
} }
/* Leave peripheral in compatibility mode */ /* Leave peripheral in compatibility mode */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment