lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101001135254.GA27739@oksana.dev.rtsoft.ru>
Date:	Fri, 1 Oct 2010 17:52:54 +0400
From:	Anton Vorontsov <cbouatmailru@...il.com>
To:	Alan Cox <alan@...ux.intel.com>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Tobias Klauser <tklauser@...tanz.ch>,
	linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/8] altera_uart: Make it possible to use Altera UART
 and 8250 ports together

On Fri, Oct 01, 2010 at 01:41:38PM +0100, Alan Cox wrote:
> On Fri, 1 Oct 2010 17:22:07 +0400
> Anton Vorontsov <cbouatmailru@...il.com> wrote:
> 
> > This fixes tty name and major number conflicts. The major number
> > 204 is used across many platform-specific serial drivers, so we
> > use that.
> 
> 204 is allocated in small chunks to specific low volume devices so you
> need a proper minor allocation
> 
> At this point that would be 204,213 for whatever tiny range you need.
> 
> Please send me a patch for devices.txt and update accordingly,
> otherwise no objections.

Sure thing. Will this work?

Thanks!

- - -
From: Anton Vorontsov <cbouatmailru@...il.com>
Subject: lanana: Assign a device name and numbering for Altera UART

Note that Altera UART is usually found on an FPGA solutions, so there
could be quite a lot of ports (expanded as needed).

I guess the sane maximum number of ports would be 8, but it is still
possible to do hundreds of them.

Signed-off-by: Anton Vorontsov <cbouatmailru@...il.com>
---
 Documentation/devices.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index d0d1df6..984cf24 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -2805,6 +2805,9 @@ Your cooperation is appreciated.
 		 210 = /dev/ttyMAX1		MAX3100 serial port 1
 		 211 = /dev/ttyMAX2		MAX3100 serial port 2
 		 212 = /dev/ttyMAX3		MAX3100 serial port 3
+		 213 = /dev/ttyAL0		Altera UART port 0
+		    ...
+		 221 = /dev/ttyAL7		Altera UART port 7
 
 205 char	Low-density serial ports (alternate device)
 		  0 = /dev/culu0		Callout device for ttyLU0
-- 
1.7.0.5

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ