lkml.org 
[lkml]   [2003]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Serial port numbering (ttyS..) wrong for 2.5.61+
Date
Hello,

> Since I tried the 2.5 kernel versions somewhere in the 2.5.6x range, I
> see rather odd port naming for the extra 4 serial ports on a PCI-card.
Which driver are you using ?

> The first two are numered as ttyS14, ttyS15 while the last two are
> ttyS2 and ttyS3 !
> I tried to find where these numbers are coming from but
> couldn't really
> find an obvious place in the various drivers/char/* or
> drivers/serial/*
> files.

Numbering seems to be coming out of
drivers/serial/core.c : uart_find_match_or_unused
which is responsible for finding an unused state for the port.

However, the code there seems to be clean and I guess we should look
where the state are initialized.

Paul

-
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:35    [W:0.035 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site