Messages in this thread Patch in this message | | | Date | Thu, 23 Dec 1999 11:54:32 +0000 (GMT) | From | Tim Waugh <> | Subject | [patch] 2.3.35pre3: Don't reset parallel port devs at init |
| |
Hi Linus,
Here is a patch to prevent resetting things like printers when parport_pc initialises. The rationale is that
(a) it makes fetching the device ID (which is done afterwards) more reliable, and (b) the user can force a reset using tunelp after lp loads if they really want to.
Tim. */
Index: linux/drivers/parport/parport_pc.c diff -u linux/drivers/parport/parport_pc.c:1.1.1.8 linux/drivers/parport/parport_pc.c:1.15 --- linux/drivers/parport/parport_pc.c:1.1.1.8 Tue Nov 9 09:20:00 1999 +++ linux/drivers/parport/parport_pc.c Tue Dec 21 11:50:38 1999 @@ -1687,12 +1687,6 @@ parport_pc_write_data(p, 0); parport_pc_data_forward (p); - parport_pc_write_control(p, PARPORT_CONTROL_SELECT); - udelay (50); - parport_pc_write_control(p, - PARPORT_CONTROL_SELECT - | PARPORT_CONTROL_INIT); - udelay (50); /* Now that we've told the sharing engine about the port, and found out its characteristics, let the high-level drivers
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |