change log for rtems (2011-01-17)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Jan 17 11:10:31 UTC 2011
*sh*:
2011-01-17 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libchip/serial/ns16550.c: Install interrupt handler after TTY
pointer is valid.
M 1.535 c/src/ChangeLog
M 1.47 c/src/libchip/serial/ns16550.c
diff -u rtems/c/src/ChangeLog:1.534 rtems/c/src/ChangeLog:1.535
--- rtems/c/src/ChangeLog:1.534 Mon Oct 25 02:43:32 2010
+++ rtems/c/src/ChangeLog Mon Jan 17 04:31:18 2011
@@ -1,3 +1,8 @@
+2011-01-17 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * libchip/serial/ns16550.c: Install interrupt handler after TTY
+ pointer is valid.
+
2010-10-25 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libchip/ide/ata.c: Do not violate chain API.
diff -u rtems/c/src/libchip/serial/ns16550.c:1.46 rtems/c/src/libchip/serial/ns16550.c:1.47
--- rtems/c/src/libchip/serial/ns16550.c:1.46 Sun Apr 25 19:58:39 2010
+++ rtems/c/src/libchip/serial/ns16550.c Mon Jan 17 04:31:18 2011
@@ -68,10 +68,10 @@
console_fns ns16550_fns = {
libchip_serial_default_probe, /* deviceProbe */
ns16550_open, /* deviceFirstOpen */
- NULL, /* deviceLastClose */
+ ns16550_close, /* deviceLastClose */
NULL, /* deviceRead */
ns16550_write_support_int, /* deviceWrite */
- ns16550_initialize_interrupts, /* deviceInitialize */
+ ns16550_init, /* deviceInitialize */
ns16550_write_polled, /* deviceWritePolled */
ns16550_set_attributes, /* deviceSetAttributes */
true /* deviceOutputUsesInterrupts */
@@ -186,6 +186,7 @@
rtems_termios_set_initial_baud( tty, (intptr_t) c->pDeviceParams);
if (c->pDeviceFns->deviceOutputUsesInterrupts) {
+ ns16550_initialize_interrupts( minor);
ns16550_enable_interrupts( minor, NS16550_ENABLE_ALL_INTR_EXCEPT_TX);
}
@@ -598,8 +599,6 @@
#endif
console_data *d = &Console_Port_Data [minor];
- ns16550_init( minor);
-
d->bActive = false;
#ifdef BSP_FEATURE_IRQ_EXTENSION
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110117/3e832b27/attachment.html>
More information about the vc
mailing list