lkml.org 
[lkml]   [2000]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjecti810/i815 TCO Watchdog V0.02
Date
Hello all!
Sorry to spam the list with a diff but I tried to send this to Linus directly
but got no response in any way until now. So before this gets lost I thought I
repost it here. It would be really great if the attached diffs would make it
into final 2.4.
Following is the mail I sent to Linus which gives a short description of the
diffs.
Regards
nils

---------- Forwarded Message ----------
Subject: i810/i815 TCO Watchdog V0.02
Date: Fri, 28 Jul 2000 15:50:00 +0200
From: Nils Faerber <nils@kernelconcepts.de>



Hello Linus!
Find attached a new version of my i810/i815 TCO watchdog driver. The last
version V0.01 you got from Alan Cox had a problem with some boards which is now
fixed along with some other minor changes.
Since I did not see that V0.01 was included in any kernel images I attach the
complete diff against 2.3.99-pre9. The driver itself compiles and works cleanly
for any kernel from 2.2.14 to 2.3.99-pre9 and 2.4.0-test5. For 2.4.0-test5 I
have attached an extra diff for you making it easier to include it (which I
sincerely hope ;)

Also attached is a diff for 2.4.0-test5 serial.c. It initializes info->ACR
before trying to detect the port and which is used in serial_icr_read() and
would else be uninitialized (it gets set to wake up the port but this is only
done when opening the port, not for probing for it).

In case of any problems with the diffs, please contact me.
Regards
nils faerber

--
kernel concepts
Engel & Faerber GbR Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen D1 : +49-170-2729106
--[unhandled content-type:application/x-gzip]--- serial.c-o Fri Jul 28 16:00:39 2000
+++ serial.c Fri Jul 28 16:01:51 2000
@@ -3486,6 +3486,7 @@
* (Exoray@isys.ca) claims that it's needed for 952
* dual UART's (which are not recommended for new designs).
*/
+ info->ACR = 0;
serial_out(info, UART_LCR, 0xBF);
serial_out(info, UART_EFR, 0x10);
serial_out(info, UART_LCR, 0x00);[unhandled content-type:application/x-gzip]
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.573 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site