lkml.org 
[lkml]   [2001]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Serial Ports
Date
From: "Stephen Torri" <storri@ameritech.net>
> Should serial ports be assigned interrupts on start up or are they
> assigned when they are used? I have been tracking the serial ports on my
> Supermicro Dual P3 Board for a few days now. At times I cannot get them to
> work so I can syncronize a Palm Pilot via the serial port.

On-board serial ports are given either the standard irqs, or the
irqs that you specify in the bios. ISA and other non-self-identifying-
bus-based ports will be given the irqs you specify in the configuration
of the device. PCI and other self-identifying-bus-based ports will
be assigned free or sharable irqs by the bios/os. All serial hardware
is assigned an irq. This is the hardware level.

I think what you're asking is "When I cat /proc/irq, should I see the
serial ports listed at boot, or only after I've used them?" The answer
to that is that the standard serial driver only registers to use the
irq that has been assigned, when it needs to use it. So if you check
before usage, you won't see your ports.

..Stu


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.032 / U:10.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site