linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Stop pmac_zilog from abusing 8250's device numbers.
@ 2007-04-03 14:25 David Woodhouse
  2007-04-03 20:37 ` Brad Boyer
                   ` (2 more replies)
  0 siblings, 3 replies; 99+ messages in thread
From: David Woodhouse @ 2007-04-03 14:25 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

There are proper device numbers registered for pmac_zilog now. Use them.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

diff --git a/drivers/serial/pmac_zilog.c b/drivers/serial/pmac_zilog.c
index 752ef07..579266d 100644
--- a/drivers/serial/pmac_zilog.c
+++ b/drivers/serial/pmac_zilog.c
@@ -99,9 +99,10 @@ static DEFINE_MUTEX(pmz_irq_mutex);
 
 static struct uart_driver pmz_uart_reg = {
 	.owner		=	THIS_MODULE,
-	.driver_name	=	"ttyS",
-	.dev_name	=	"ttyS",
-	.major		=	TTY_MAJOR,
+	.driver_name	=	"ttyPZ",
+	.dev_name	=	"ttyPZ",
+	.major		=	204,
+	.minor		=	192,
 };
 
 
@@ -1800,7 +1801,6 @@ static int __init pmz_register(void)
 	
 	pmz_uart_reg.nr = pmz_ports_count;
 	pmz_uart_reg.cons = PMACZILOG_CONSOLE;
-	pmz_uart_reg.minor = 64;
 
 	/*
 	 * Register this driver with the serial core

-- 
dwmw2

^ permalink raw reply related	[flat|nested] 99+ messages in thread

end of thread, other threads:[~2007-08-14 16:24 UTC | newest]

Thread overview: 99+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 14:25 [PATCH] Stop pmac_zilog from abusing 8250's device numbers David Woodhouse
2007-04-03 20:37 ` Brad Boyer
2007-04-03 22:58   ` David Woodhouse
2007-04-03 23:14 ` Paul Mackerras
2007-04-03 23:28   ` David Woodhouse
2007-04-03 21:29     ` Brad Boyer
2007-04-03 23:57       ` David Woodhouse
     [not found]         ` <200704032210 02.GA13210@cynthia.pants.nu>
2007-04-03 22:10         ` Brad Boyer
2007-04-04  0:54           ` David Woodhouse
2007-04-03 23:09             ` Brad Boyer
2007-04-04  1:38               ` Alan Cox
2007-04-04  2:10               ` Valdis.Kletnieks
2007-04-04  1:57                 ` David Lang
2007-04-04  8:51               ` Russell King
2007-04-04  9:48                 ` Geert Uytterhoeven
2007-04-04 16:09                   ` H. Peter Anvin
2007-04-04 16:22               ` Linas Vepstas
2007-04-04 16:34                 ` David Woodhouse
2007-04-04 17:38                   ` Linas Vepstas
2007-04-04  1:16             ` David Miller
2007-04-04  1:28               ` Alan Cox
2007-04-04  1:07                 ` David Lang
2007-04-04  1:44                   ` Alan Cox
2007-04-04  1:23                     ` David Lang
2007-04-04  1:32                       ` David Lang
2007-04-04 16:07                       ` H. Peter Anvin
2007-04-04 17:50                       ` Linas Vepstas
2007-04-04  1:50                     ` David Miller
2007-04-04 11:14                       ` Alan Cox
2007-04-04 12:20                         ` Olivier Galibert
2007-04-04  1:48                   ` David Miller
2007-04-04  3:07                 ` Gerhard Mack
2007-04-11 16:30                   ` Benny Amorsen
2007-04-12 15:34                     ` Roland Dreier
2007-04-13  2:45                       ` Gerhard Mack
2007-04-13  2:24                         ` David Lang
2007-04-13  8:09                           ` Geert Uytterhoeven
2007-04-04  0:02         ` David Miller
2007-04-04  0:12           ` David Woodhouse
2007-04-03 22:14             ` Brad Boyer
2007-04-04  1:13             ` Benjamin Herrenschmidt
2007-04-04  1:17               ` David Miller
2007-04-04  1:32                 ` Benjamin Herrenschmidt
2007-04-04  0:01       ` [PATCH v2] " David Woodhouse
2007-04-04  1:25       ` [PATCH] " Alan Cox
2007-04-04  4:20         ` Paul Mackerras
2007-04-04  5:19           ` David Woodhouse
2007-04-04  5:50             ` David Miller
2007-04-04  7:04               ` Geert Uytterhoeven
2007-04-04 13:43                 ` Maciej W. Rozycki
2007-04-04  7:52               ` Russell King
2007-04-04  8:41                 ` David Miller
2007-04-04  5:53             ` Paul Mackerras
2007-04-04  6:03               ` David Woodhouse
2007-04-04  6:31                 ` Paul Mackerras
2007-04-04 14:19                   ` [PATCH v3] Stop pmac_zilog from abusing 8250's device numbers; optionally David Woodhouse
2007-04-04 23:48                     ` Paul Mackerras
2007-04-05 12:45                       ` David Woodhouse
2007-04-05 22:53                         ` Paul Mackerras
2007-04-05 22:59                           ` David Woodhouse
2007-04-05 14:31                     ` Atsushi Nemoto
2007-04-05 14:47                       ` David Woodhouse
2007-04-05 15:09                         ` Atsushi Nemoto
2007-04-05 15:18                           ` David Woodhouse
2007-04-05 15:49                             ` Atsushi Nemoto
2007-04-05 15:56                         ` Geert Uytterhoeven
2007-04-04  8:12                 ` [PATCH] Stop pmac_zilog from abusing 8250's device numbers David Miller
2007-04-04  8:38                   ` Russell King
2007-04-04  8:43                     ` David Miller
2007-04-04  9:00                       ` Russell King
2007-04-04 19:58                         ` David Miller
2007-04-04 12:21                     ` Theodore Tso
2007-04-04 16:10                       ` Russell King
2007-04-04 16:16                       ` H. Peter Anvin
2007-04-04 16:25                         ` Alan Cox
2007-04-04 17:41                         ` Theodore Tso
2007-04-04 18:15                           ` Russell King
2007-04-04 19:50                             ` David Woodhouse
2007-04-05  6:05                               ` Paul Mackerras
2007-04-05  8:50                                 ` Russell King
2007-04-05 16:15                             ` Olivier Galibert
2007-04-05 21:41                 ` Pavel Machek
2007-04-03 23:56     ` David Miller
2007-04-04  1:13       ` Benjamin Herrenschmidt
2007-04-04  6:58     ` Paul Mackerras
2007-04-04 14:16       ` David Woodhouse
2007-04-03 23:55   ` David Miller
2007-04-04  1:19     ` Alan Cox
2007-04-04  1:21       ` David Miller
2007-04-04  1:36         ` Alan Cox
2007-04-04  1:47           ` David Miller
2007-04-04  7:47         ` Russell King
2007-04-04  9:55           ` Paul Mackerras
2007-04-04 16:06             ` Russell King
2007-04-04  6:58     ` Geert Uytterhoeven
2007-08-14 11:49   ` Olaf Hering
2007-08-14 11:53     ` David Woodhouse
2007-08-14 16:24       ` Olaf Hering
2007-04-04  7:55 ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).