]> xenbits.xen.org Git - xenclient/xen-pq.git/commitdiff
Set the clock back to default too for the legacy cards
authorJames Mckenzie <jamesmck@taoand.(none)>
Fri, 25 Sep 2009 16:29:38 +0000 (17:29 +0100)
committerJames Mckenzie <jamesmck@taoand.(none)>
Fri, 25 Sep 2009 16:29:38 +0000 (17:29 +0100)
master/serial-card

index ae687f806612cf65502bd18043e70aeb07a96b91..0e9903f0cd95f295a4119ba06a3d7eef5e8c1776 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c
-index 1f88907..4fec179 100644
+index 1f88907..60c373b 100644
 --- a/xen/drivers/char/ns16550.c
 +++ b/xen/drivers/char/ns16550.c
 @@ -15,6 +15,8 @@
@@ -11,7 +11,7 @@ index 1f88907..4fec179 100644
  #include <asm/io.h>
  
  /*
-@@ -336,6 +338,63 @@ static int check_existence(struct ns16550 *uart)
+@@ -336,6 +338,64 @@ static int check_existence(struct ns16550 *uart)
      return (status == 0x90);
  }
  
@@ -67,6 +67,7 @@ index 1f88907..4fec179 100644
 +
 +  uart->io_base = 0x3f8;
 +  uart->irq = 0;
++  uart->clock_hz  = UART_CLOCK_HZ;
 +
 +  return 0;
 +}
@@ -75,7 +76,7 @@ index 1f88907..4fec179 100644
  #define PARSE_ERR(_f, _a...)                 \
      do {                                     \
          printk( "ERROR: " _f "\n" , ## _a ); \
-@@ -384,7 +443,18 @@ static void __init ns16550_parse_port_config(
+@@ -384,7 +444,18 @@ static void __init ns16550_parse_port_config(
      if ( *conf == ',' )
      {
          conf++;