Re: [PATCH 1/2] parport_pc: after superio probing restore originalregister values

From: Jeff Garzik
Date: Mon Jun 22 2009 - 11:41:49 EST

Alan Cox wrote:
From: Jens Rottmann <JRottmann@xxxxxxxxxxxxxxxxxx>

CONFIG_PARPORT_PC_SUPERIO probes for various superio chips by writing
byte sequences to a set of different potential I/O ranges. But the
probed ranges are not exclusive to parallel ports. Some of our boards
just happen to have a watchdog in one of them. Took us almost a week
to figure out why some distros reboot without warning after running
flawlessly for 3 hours. For exactly 170 = 0xAA minutes, that is ...

Fixed by restoring original values after probing. Also fixed too small
request_region() in detect_and_report_it87().

Signed-off-by: Jens Rottmann <JRottmann@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
Cc: <stable@xxxxxxxxxx>

drivers/parport/parport_pc.c | 31 +++++++++++++++++++++++++------
1 files changed, 25 insertions(+), 6 deletions(-)

Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at