All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.