* [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver
@ 2009-11-23 14:21 Sebastian Smolorz
2009-11-23 17:37 ` Wolfgang Grandegger
0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Smolorz @ 2009-11-23 14:21 UTC (permalink / raw)
To: xenomai-core
[-- Attachment #1: Type: text/plain, Size: 119 bytes --]
can: Free I/O region when unloading the xeno_can_isa.ko driver
Signed-off-by: Sebastian Smolorz <smolorz@domain.hid>
[-- Attachment #2: rtcan_isa.diff --]
[-- Type: text/x-patch, Size: 779 bytes --]
diff --git a/ksrc/drivers/can/sja1000/rtcan_isa.c b/ksrc/drivers/can/sja1000/rtcan_isa.c
index 6debb16..ec32393 100644
--- a/ksrc/drivers/can/sja1000/rtcan_isa.c
+++ b/ksrc/drivers/can/sja1000/rtcan_isa.c
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2006 Wolfgang Grandegger <wg@domain.hid>
*
- * Copyright (C) 2005, 2006 Sebastian Smolorz
- * <Sebastian.Smolorz@domain.hid>
+ * Copyright (C) 2005, 2006, 2009 Sebastian Smolorz
+ * <smolorz@domain.hid>
*
*
* This program is free software; you can redistribute it and/or modify it
@@ -189,6 +189,7 @@ static void rtcan_isa_exit(void)
if (!dev)
continue;
rtcan_sja1000_unregister(dev);
+ release_region(io[i], RTCAN_ISA_PORT_SIZE);
rtcan_dev_free(dev);
}
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver
2009-11-23 14:21 [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver Sebastian Smolorz
@ 2009-11-23 17:37 ` Wolfgang Grandegger
2009-11-23 18:05 ` Jan Kiszka
2009-11-23 18:34 ` Philippe Gerum
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Grandegger @ 2009-11-23 17:37 UTC (permalink / raw)
To: Sebastian Smolorz; +Cc: xenomai-core
Sebastian Smolorz wrote:
> can: Free I/O region when unloading the xeno_can_isa.ko driver
>
> Signed-off-by: Sebastian Smolorz <smolorz@domain.hid>
Signed-off-by: Wolfgang Grandegger <wg@domain.hid>
Philippe, should I apply the patch?
Thanks,
Wolfgang.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver
2009-11-23 17:37 ` Wolfgang Grandegger
@ 2009-11-23 18:05 ` Jan Kiszka
2009-11-23 18:22 ` Wolfgang Grandegger
2009-11-23 18:34 ` Philippe Gerum
1 sibling, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2009-11-23 18:05 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai-core
Wolfgang Grandegger wrote:
> Sebastian Smolorz wrote:
>> can: Free I/O region when unloading the xeno_can_isa.ko driver
>>
>> Signed-off-by: Sebastian Smolorz <smolorz@domain.hid>
> Signed-off-by: Wolfgang Grandegger <wg@domain.hid>
>
> Philippe, should I apply the patch?
Do you have write access to the head git? Even if, this is not how that
tree is operated today. Either send pull request from a personal tree or
wait for Philippe to pick it up directly.
But I can also pick up Sebastian's patch and push it through my tree
(along with the other RTDM-related commit I've queued).
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver
2009-11-23 18:05 ` Jan Kiszka
@ 2009-11-23 18:22 ` Wolfgang Grandegger
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Grandegger @ 2009-11-23 18:22 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai-core
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>> Sebastian Smolorz wrote:
>>> can: Free I/O region when unloading the xeno_can_isa.ko driver
>>>
>>> Signed-off-by: Sebastian Smolorz <smolorz@domain.hid>
>> Signed-off-by: Wolfgang Grandegger <wg@domain.hid>
>>
>> Philippe, should I apply the patch?
>
> Do you have write access to the head git? Even if, this is not how that
> tree is operated today. Either send pull request from a personal tree or
> wait for Philippe to pick it up directly.
Well, you are right. I actually never tried.
> But I can also pick up Sebastian's patch and push it through my tree
> (along with the other RTDM-related commit I've queued).
You are welcome.
Thanks,
Wolfgang.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver
2009-11-23 17:37 ` Wolfgang Grandegger
2009-11-23 18:05 ` Jan Kiszka
@ 2009-11-23 18:34 ` Philippe Gerum
1 sibling, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2009-11-23 18:34 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai-core
On Mon, 2009-11-23 at 18:37 +0100, Wolfgang Grandegger wrote:
> Sebastian Smolorz wrote:
> > can: Free I/O region when unloading the xeno_can_isa.ko driver
> >
> > Signed-off-by: Sebastian Smolorz <smolorz@domain.hid>
> Signed-off-by: Wolfgang Grandegger <wg@domain.hid>
>
> Philippe, should I apply the patch?
Just picked it from Jan's queue. Thanks.
>
> Thanks,
>
> Wolfgang.
--
Philippe.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-23 18:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 14:21 [Xenomai-core] [PATCH] can: Free I/O region when unloading the xeno_can_isa.ko driver Sebastian Smolorz
2009-11-23 17:37 ` Wolfgang Grandegger
2009-11-23 18:05 ` Jan Kiszka
2009-11-23 18:22 ` Wolfgang Grandegger
2009-11-23 18:34 ` 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.