Re: [PATCH] Exar quad port serial



On Tue, Oct 17, 2006 at 08:00:17PM -0500, Paul B Schroeder wrote:
Sorry for the late response.. Here is a fuller explanation. Maybe
somebody out there has a better solution:

This is on our "Envoy" boxes which we have, according to the documentation,
an "Exar ST16C554/554D Quad UART with 16-byte Fifo's". The box also has
two other "on-board" serial ports and a modem chip.

The two on-board serial UARTs were being detected along with the first two
Exar UARTs. The last two Exar UARTs were not showing up and neither was
the modem.

This patch was the only way I could the kernel to see beyond the standard
four serial ports and get all four of the Exar UARTs to show up.

I hope this explains it well enough..

I suspect all you have to do might be to change how many ports it looks
for. The default max ports is 4 I believe on many kernel versions.

Look for CONFIG_SERIAL_8250_NR_UARTS and
CONFIG_SERIAL_8250_RUNTIME_UARTS in the kernel config.

If that doesn't work and you do need a special driver, at least label it
with more detail like 'for exar st16c554 quad uart' or 'for envoy board'
or whatever makes it clear which hardware it is for. I use exar pci
uarts (exar XR17d15[248] chips) which work fine already with the 8250
driver, or optionally with the jsm driver with a small change to the
list if pci identifiers. THey of course would not work with your driver
since they are completely different exar chips (even though one is also
a quad uart, although 64byte fifo).

--
Len Sorensen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Bug in X86 serial port driver in CE.NET 4.2 ?
    ... > Yeah I have noticed that too on some UARTs. ... From the behaviour I am seeing with my driver it seems to ... > connected up (system configurable to control different pieces of hardware). ... > no serial ports and no hang with my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH] Exar quad port serial
    ... This is on our "Envoy" boxes which we have, according to the documentation, an "Exar ST16C554/554D Quad UART with 16-byte Fifo's". ... The two on-board serial UARTs were being detected along with the first two Exar UARTs. ...
    (Linux-Kernel)
  • Re: Exar ST16C2550 rev A2 bug
    ... > There seem to be an increasing number of the above UARTs floating ... Exar has documented the problem and their ... Essentially, if we find an EFR, we check whether the UART reports ... * When this function is called we know it is at least a StarTech ...
    (Linux-Kernel)
  • Re: Adding serial ports to ARM-based board
    ... > UARTS and we need at least 3 more serial ports for our design. ... bit-banged SPI. ...
    (comp.arch.embedded)
  • Re: Bogus serial port ttyS02
    ... Both PReP and CHRP have PC-style serial ports. ... > to 8250-type UARTS. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)