lkml.org 
[lkml]   [1998]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectSerial IRQ detection: need tester
  Hi,

The current 2.1.91 serial IRQ detection is not really clean,
and run not really as it should (the IRQ do not appear at
the right place). I have rewritten it, using standart calls
probe_irq_*(), it saves half a Kbyte and I think is *a lot*
cleaner and simpler.

I have never seen this way to detect UART IRQ failling,
at least when the hardware is working (IRQ not pulled
by another device).
This method to detect IRQ is **GPL**, I do not think
anybody has already used it in a commercial software.
*** it will not work with kernel below (including) 2.1.90 ***

So it is working 100% for my config (386, need another small
patch to recognise all these at boot time) :

Serial driver version 4.25 with MANY_PORTS SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 12) is a 16450
ttyS03 at 0x02e8 (irq = 12) is a 16450
ttyS04 at 0x01e8 (irq = 9) is a 16550A
ttyS05 at 0x01f8 (irq = 9) is a 8250
ttyS06 at 0x03b0 (irq = 11) is a 16450
ttyS07 at 0x03e0 (irq = 10) is a ST16650V2
ttyS08 at 0x03b8 (irq = 10) is a 16450

and also the the PII 300 (2 standart serial port) here.

It is the minimum patch, nothing is changed in
the way UART standart interrupts are handled.

My todo list is quite long, but go on step by step,
I would like to get report if this is not working
(directly, this list is overloaded).
Also, I have tested all what I could, but I do
not have such a hardware:
#if defined(__alpha__) && !defined(CONFIG_PCI)
If someone would be kindfull enought to test
it and report /proc/interrupt just after boot...

My first contribution which would be more than $0.02,
lets say $0.03 (30 years credit accepted :)) ...

Etienne.
----------- etienne.lorrain@ibm.net
-- hdc: irq timeout: status=0xd0 { Busy }
-- ide1: reset: success
----------> I like Linux !
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

---- File information -----------
File: patch_ser1.gz
Date: 29 Mar 1998, 20:54
Size: 4355 bytes.
Type: Unknown
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.032 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site