lkml.org 
[lkml]   [2001]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch-v2] 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.
--
~Randy--- 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)
\
 
 \ /
  Last update: 2005-03-22 12:57    [W:1.221 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site