lkml.org 
[lkml]   [2001]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] i810-tco bugfix
From
Hi all,

this small patch fixes stupid bug in i810 TCO watchdog driver.
This bug was created by me (ugh) along with i815/i8[2456]0 support.

Best regards.

--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.ascdiff -ur -X /usr/dontdiff /linux.vanilla/drivers/char/i810-tco.c /linux/drivers/char/i810-tco.c
--- /linux.vanilla/drivers/char/i810-tco.c Mon Jun 25 23:45:39 2001
+++ /linux/drivers/char/i810-tco.c Tue Jun 26 00:19:14 2001
@@ -261,12 +261,11 @@
*/

pci_for_each_dev(dev) {
- i810tco_pci = pci_match_device(i810tco_pci_tbl, dev);
- if (i810tco_pci != NULL)
+ if (pci_match_device(i810tco_pci_tbl, dev))
break;
}

- if (i810tco_pci) {
+ if ((i810tco_pci = dev)) {
/*
* Find the ACPI base I/O address which is the base
* for the TCO registers (TCOBASE=ACPIBASE + 0x60)[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.022 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site