Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96979
b: refs/heads/master
c: b4aa54d
h: refs/heads/master
i:
  96977: ebe8da3
  96975: c22524a
v: v3
  • Loading branch information
Javier Herrero authored and Bryan Wu committed May 17, 2008
1 parent 59d410e commit c1ca41a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e291434eb128d7b4217dde6e0543f4342dd51fa
refs/heads/master: b4aa54d951d38d7a989d6b6385494ef5ea7371d7
5 changes: 3 additions & 2 deletions trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#include <asm/io.h>
#include <asm/irq.h>
#include <asm/serial.h>

#include "8250.h"

Expand Down Expand Up @@ -92,8 +93,6 @@ static unsigned int nr_uarts = CONFIG_SERIAL_8250_RUNTIME_UARTS;
*/
#define CONFIG_HUB6 1

#include <asm/serial.h>

/*
* SERIAL_PORT_DFNS tells us about built-in ports that have no
* standard enumeration mechanism. Platforms that can find all
Expand Down Expand Up @@ -1548,6 +1547,8 @@ static int serial_link_irq_chain(struct uart_8250_port *up)
i->head = &up->list;
spin_unlock_irq(&i->lock);

irq_flags |= SERIAL_EXTRA_IRQ_FLAGS;

ret = request_irq(up->port.irq, serial8250_interrupt,
irq_flags, "serial", i);
if (ret < 0)
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/serial/8250.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,8 @@ struct serial8250_config {
#else
#define ALPHA_KLUDGE_MCR 0
#endif

#ifndef SERIAL_EXTRA_IRQ_FLAGS
#define SERIAL_EXTRA_IRQ_FLAGS 0
#endif

0 comments on commit c1ca41a

Please sign in to comment.