[patch-v2] i810 TCO Oops

Randy.Dunlap (rddunlap@osdlab.org)
Wed, 11 Jul 2001 14:43:40 -0700


This is a multi-part message in MIME format.
--------------DCC47A91C5EBE4218694D80F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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.

-- 
~Randy
--------------DCC47A91C5EBE4218694D80F
Content-Type: text/plain; charset=us-ascii;
 name="i810-foundv2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="i810-foundv2.diff"

--- linux/drivers/char/i810-tco.c.org Mon Jul 2 13:56:41 2001 +++ linux/drivers/char/i810-tco.c Wed Jul 11 14:25:21 2001 @@ -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)

--------------DCC47A91C5EBE4218694D80F--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/