i810 TCO Oops
PATCH v2 1/1 i810 TCO Oops
Um, having lunch has created a better patch IMO. It removes the "if (assignment_and_test)" line and still fixes the Oops.
Please apply this one instead if possible... to 2.4.7-preX and 2.3.6-acN.
Thanks.
Signature · 1 line
~Randy
drivers/char/i810-tco.c renamed from drivers/char/i810-tco.c.org +4 -2
@@ -261,11 +261,13 @@*/ pci_for_each_dev (dev) { -if (pci_match_device (i810tco_pci_tbl, dev)) +if (pci_match_device (i810tco_pci_tbl, dev)) { + i810tco_pci = dev;break ; + } } -if ((i810tco_pci = dev)) { +if (i810tco_pci) {/* * Find the ACPI base I/O address which is the base * for the TCO registers (TCOBASE=ACPIBASE + 0x60)