lkml.org 
[lkml]   [2007]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectlanana: Add major/minor entries for PPC QE UART devices
Hi,

(Email to device@lanana.org bounces, so I'm sending this to lkml instead.)

I'm working on a UART device driver for the Freescale PowerPC QUICCEngine, which
is a replacement for the CPM. Since the QE is basically "CPM v3", and you can't
have a CPM and a QE on the same board, I figure that they can share the same
minor numbers.

I've attached a patch that adds these entries to major number 204. Please not
that there's a small typo for /dev/ttyCPM5, and I've fixed that in the patch as
well.

Please let me know if my proposal/patch is acceptable, and if not, what changes
you want me to make. Thanks.

patch:

Fixed a typo with /dev/ttyCPM5. Added entries for /dev/ttyQE0-3. The QE
is a replacement for the CPM, so they can share the same minor numbers.

--- devices-2.6+.txt 2007-02-22 13:37:18.000000000 -0600
+++ devices-2.6+.new 2007-02-22 13:42:50.000000000 -0600
@@ -2770,7 +2770,10 @@
45 = /dev/ttyMM1 Marvell MPSC - port 1
46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0
...
- 47 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
+ 49 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
+ 46 = /dev/ttyQE0 PPC QE (UCC) - port 0
+ ...
+ 49 = /dev/ttyQE3 PPC QE (UCC) - port 3
50 = /dev/ttyIOC0 Altix serial card
...
81 = /dev/ttyIOC31 Altix serial card

--
Timur Tabi
Linux Kernel Developer @ Freescale

-
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: 2007-02-27 18:27    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean