mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [uPATCH] i810-tco watchdog,
@ 2001-06-28 13:12 pazke
  0 siblings, 0 replies; only message in thread
From: pazke @ 2001-06-28 13:12 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

Hi all,

Intel ICHx have one(?) ugly feature: reboot by TCO timer can be
disabled by the hardware. Current message isn't very informative and
can cause false bugreports, so the attached micropatch.

BTW this hardware braindamage already reported on Sony Vaio pCG-FX140.

Best regards.

P.S. What's wrong with my previous patches including Intel ICH and SCL90E66
PCI quirks ?

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc

[-- Attachment #1.2: patch-i810-msg --]
[-- Type: text/plain, Size: 598 bytes --]

diff -ur -X dontdiff linux.vanilla/drivers/char/i810-tco.c linux/drivers/char/i810-tco.c
--- linux.vanilla/drivers/char/i810-tco.c	Tue Jun 26 10:37:47 2001
+++ linux/drivers/char/i810-tco.c	Thu Jun 28 16:51:17 2001
@@ -289,7 +289,7 @@
 			pci_write_config_byte (i810tco_pci, 0xd4, val1);
 			pci_read_config_byte (i810tco_pci, 0xd4, &val1);
 			if (val1 & 0x02) {
-				printk (KERN_ERR "i810tco init: failed to reset NO_REBOOT flag\n");
+				printk (KERN_ERR "i810tco init: failed to reset NO_REBOOT flag, reboot disabled by hardware\n");
 				return 0;	/* Cannot reset NO_REBOOT bit */
 			}
 		}

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-28 13:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28 13:12 [uPATCH] i810-tco watchdog, pazke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®