Re: Serial Ports

Stuart MacDonald
2001-09-06T14:11:08Z

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