* [Xenomai-core] [PATCH] fix typos around 16550A driver
@ 2005-12-17 17:33 Jan Kiszka
2005-12-17 17:52 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2005-12-17 17:33 UTC (permalink / raw)
To: xenomai-core
[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]
Hi,
these are two typo fixes for the serial driver. One of them should have
broken kernel 2.4 compilation for this driver, the other is cosmetic
Jan
PS: What about this splnone in gatekeeper_thread(), BTW. Still needed?
--- ksrc/nucleus/shadow.c (Revision 285)
+++ ksrc/nucleus/shadow.c (Arbeitskopie)
@@ -384,7 +384,6 @@
set_current_state(TASK_INTERRUPTIBLE);
up(&gk->sync); /* Make the request token available. */
schedule();
- splnone();
if (kthread_should_stop())
break;
[-- Attachment #1.2: 16550A_typos.patch --]
[-- Type: text/x-patch, Size: 903 bytes --]
Index: ksrc/drivers/16550A/16550A.c
===================================================================
--- ksrc/drivers/16550A/16550A.c (Revision 285)
+++ ksrc/drivers/16550A/16550A.c (Arbeitskopie)
@@ -1025,7 +1025,7 @@
device_class: RTDM_CLASS_SERIAL,
device_sub_class: RTDM_SUBCLASS_16550A,
- driver_name: "rt_16550A",
+ driver_name: "xeno_16550A",
driver_version: RTDM_DRIVER_VER(1, 2, 1),
peripheral_name: "UART 16550A",
provider_name: "Jan Kiszka",
Index: ksrc/drivers/16550A/Makefile
===================================================================
--- ksrc/drivers/16550A/Makefile (Revision 285)
+++ ksrc/drivers/16550A/Makefile (Arbeitskopie)
@@ -12,7 +12,7 @@
O_TARGET := built-in.o
-obj-$(CONFIG_XENO_SKIN_16550A) := xeno_16550A.o
+obj-$(CONFIG_XENO_DRIVERS_16550A) := xeno_16550A.o
list-multi := xeno_16550A.o
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Xenomai-core] [PATCH] fix typos around 16550A driver
2005-12-17 17:33 [Xenomai-core] [PATCH] fix typos around 16550A driver Jan Kiszka
@ 2005-12-17 17:52 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-12-17 17:52 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai-core
Jan Kiszka wrote:
> Hi,
>
> these are two typo fixes for the serial driver. One of them should have
> broken kernel 2.4 compilation for this driver, the other is cosmetic
>
Applied, thanks.
> Jan
>
>
> PS: What about this splnone in gatekeeper_thread(), BTW. Still needed?
>
Nope. Fixed.
> --- ksrc/nucleus/shadow.c (Revision 285)
> +++ ksrc/nucleus/shadow.c (Arbeitskopie)
> @@ -384,7 +384,6 @@
> set_current_state(TASK_INTERRUPTIBLE);
> up(&gk->sync); /* Make the request token available. */
> schedule();
> - splnone();
>
> if (kthread_should_stop())
> break;
>
>
> ------------------------------------------------------------------------
>
> Index: ksrc/drivers/16550A/16550A.c
> ===================================================================
> --- ksrc/drivers/16550A/16550A.c (Revision 285)
> +++ ksrc/drivers/16550A/16550A.c (Arbeitskopie)
> @@ -1025,7 +1025,7 @@
>
> device_class: RTDM_CLASS_SERIAL,
> device_sub_class: RTDM_SUBCLASS_16550A,
> - driver_name: "rt_16550A",
> + driver_name: "xeno_16550A",
> driver_version: RTDM_DRIVER_VER(1, 2, 1),
> peripheral_name: "UART 16550A",
> provider_name: "Jan Kiszka",
> Index: ksrc/drivers/16550A/Makefile
> ===================================================================
> --- ksrc/drivers/16550A/Makefile (Revision 285)
> +++ ksrc/drivers/16550A/Makefile (Arbeitskopie)
> @@ -12,7 +12,7 @@
>
> O_TARGET := built-in.o
>
> -obj-$(CONFIG_XENO_SKIN_16550A) := xeno_16550A.o
> +obj-$(CONFIG_XENO_DRIVERS_16550A) := xeno_16550A.o
>
> list-multi := xeno_16550A.o
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-17 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-17 17:33 [Xenomai-core] [PATCH] fix typos around 16550A driver Jan Kiszka
2005-12-17 17:52 ` Philippe Gerum
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.