* - atmel_serial-show-tty-name-in-proc-interrupts.patch removed from -mm tree
@ 2008-02-08 20:18 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-02-08 20:18 UTC (permalink / raw)
To: hskinnemoen, linux, marc.pignat, mm-commits
The patch titled
atmel_serial: show tty name in /proc/interrupts
has been removed from the -mm tree. Its filename was
atmel_serial-show-tty-name-in-proc-interrupts.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: atmel_serial: show tty name in /proc/interrupts
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
When possible, pass the tty name to request_irq() so that the user can easily
distinguish the different serial ports in /proc/interrupts.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Tested-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/serial/atmel_serial.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -puN drivers/serial/atmel_serial.c~atmel_serial-show-tty-name-in-proc-interrupts drivers/serial/atmel_serial.c
--- a/drivers/serial/atmel_serial.c~atmel_serial-show-tty-name-in-proc-interrupts
+++ a/drivers/serial/atmel_serial.c
@@ -793,6 +793,7 @@ static void atmel_tasklet_func(unsigned
static int atmel_startup(struct uart_port *port)
{
struct atmel_uart_port *atmel_port = to_atmel_uart_port(port);
+ struct tty_struct *tty = port->info->tty;
int retval;
/*
@@ -806,7 +807,7 @@ static int atmel_startup(struct uart_por
* Allocate the IRQ
*/
retval = request_irq(port->irq, atmel_interrupt, IRQF_SHARED,
- "atmel_serial", port);
+ tty ? tty->name : "atmel_serial", port);
if (retval) {
printk("atmel_serial: atmel_startup - Can't get irq\n");
return retval;
_
Patches currently in -mm which might be from hskinnemoen@atmel.com are
origin.patch
git-avr32.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-08 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 20:18 - atmel_serial-show-tty-name-in-proc-interrupts.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.