[Xenomai-git] Sebastian Smolorz : can: Free I/O region when unloading the xeno_can_isa. ko driver

2009-11-23 Thread GIT version control
Module: xenomai-head
Branch: master
Commit: c84135a5f94a7201281b6f9f7fb29bad12d72368
URL:
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=c84135a5f94a7201281b6f9f7fb29bad12d72368

Author: Sebastian Smolorz 
Date:   Mon Nov 23 19:25:40 2009 +0100

can: Free I/O region when unloading the xeno_can_isa.ko driver

Signed-off-by: Sebastian Smolorz 
Signed-off-by: Wolfgang Grandegger 
Signed-off-by: Jan Kiszka 

---

 ksrc/drivers/can/sja1000/rtcan_isa.c |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

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 
  *
- * Copyright (C) 2005, 2006 Sebastian Smolorz
- *  
+ * Copyright (C) 2005, 2006, 2009 Sebastian Smolorz
+ *   
  *
  *
  * 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);
}
 }


___
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git


[Xenomai-git] Sebastian Smolorz : can: Free I/O region when unloading the xeno_can_isa. ko driver

2009-11-23 Thread GIT version control
Module: xenomai-jki
Branch: for-upstream
Commit: c84135a5f94a7201281b6f9f7fb29bad12d72368
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=c84135a5f94a7201281b6f9f7fb29bad12d72368

Author: Sebastian Smolorz 
Date:   Mon Nov 23 19:25:40 2009 +0100

can: Free I/O region when unloading the xeno_can_isa.ko driver

Signed-off-by: Sebastian Smolorz 
Signed-off-by: Wolfgang Grandegger 
Signed-off-by: Jan Kiszka 

---

 ksrc/drivers/can/sja1000/rtcan_isa.c |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

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 
  *
- * Copyright (C) 2005, 2006 Sebastian Smolorz
- *  
+ * Copyright (C) 2005, 2006, 2009 Sebastian Smolorz
+ *   
  *
  *
  * 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);
}
 }


___
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git