public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/3] m68k patches for 2.6.24
@ 2007-11-18 10:10 Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 1/3] m68k: export atari_keyb_init Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2007-11-18 10:10 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: Linux/m68k, Linux Kernel Development

	Hi Linus, Andrew,

Here are 3 m68k patches for 2.6.24:
  [1] m68k: export atari_keyb_init
  [2] Amiga zorro bus: Add missing zorro_device_remove()
  [3] mac68k: mailing list addresss

Please apply. Thx!

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 1/3] m68k: export atari_keyb_init
  2007-11-18 10:10 [patch 0/3] m68k patches for 2.6.24 Geert Uytterhoeven
@ 2007-11-18 10:10 ` Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 2/3] Amiga zorro bus: Add missing zorro_device_remove() Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 3/3] mac68k: mailing list addresss Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2007-11-18 10:10 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton
  Cc: Linux/m68k, Linux Kernel Development, Adrian Bunk

[-- Attachment #1: atari-export-atari_keyb_init.diff --]
[-- Type: text/plain, Size: 1328 bytes --]

From: Adrian Bunk <bunk@kernel.org>

m68k: export atari_keyb_init

This patch fixes the following build error:

<--  snip  -->

..
  MODPOST 25 modules
ERROR: "atari_keyb_init" [drivers/input/mouse/atarimouse.ko] undefined!
ERROR: "atari_keyb_init" [drivers/input/keyboard/atakbd.ko] undefined!
make[2]: *** [__modpost] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/m68k/atari/atakeyb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/m68k/atari/atakeyb.c
+++ b/arch/m68k/atari/atakeyb.c
@@ -565,7 +565,7 @@ void atari_kbd_leds(unsigned int leds)
 
 static int atari_keyb_done = 0;
 
-int __init atari_keyb_init(void)
+int atari_keyb_init(void)
 {
 	if (atari_keyb_done)
 		return 0;
@@ -631,6 +631,7 @@ int __init atari_keyb_init(void)
 	atari_keyb_done = 1;
 	return 0;
 }
+EXPORT_SYMBOL_GPL(atari_keyb_init);
 
 int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode)
 {

-- 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 2/3] Amiga zorro bus: Add missing zorro_device_remove()
  2007-11-18 10:10 [patch 0/3] m68k patches for 2.6.24 Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 1/3] m68k: export atari_keyb_init Geert Uytterhoeven
@ 2007-11-18 10:10 ` Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 3/3] mac68k: mailing list addresss Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2007-11-18 10:10 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: Linux/m68k, Linux Kernel Development

[-- Attachment #1: zorro-add-missing-zorro_device_remove.diff --]
[-- Type: text/plain, Size: 1344 bytes --]

From: Geert Uytterhoeven <geert@linux-m68k.org>

Amiga zorro bus: Add missing zorro_device_remove(). Without this ifconfig and
/proc/net/dev oops after unloading a Zorro network device driver module.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/zorro/zorro-driver.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

--- a/drivers/zorro/zorro-driver.c
+++ b/drivers/zorro/zorro-driver.c
@@ -60,6 +60,20 @@ static int zorro_device_probe(struct dev
 }
 
 
+static int zorro_device_remove(struct device *dev)
+{
+	struct zorro_dev *z = to_zorro_dev(dev);
+	struct zorro_driver *drv = to_zorro_driver(dev->driver);
+
+	if (drv) {
+		if (drv->remove)
+			drv->remove(z);
+		z->driver = NULL;
+	}
+	return 0;
+}
+
+
     /**
      *  zorro_register_driver - register a new Zorro driver
      *  @drv: the driver structure to register
@@ -128,6 +142,7 @@ struct bus_type zorro_bus_type = {
 	.name	= "zorro",
 	.match	= zorro_bus_match,
 	.probe	= zorro_device_probe,
+	.remove	= zorro_device_remove,
 };
 
 

-- 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 3/3] mac68k: mailing list addresss
  2007-11-18 10:10 [patch 0/3] m68k patches for 2.6.24 Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 1/3] m68k: export atari_keyb_init Geert Uytterhoeven
  2007-11-18 10:10 ` [patch 2/3] Amiga zorro bus: Add missing zorro_device_remove() Geert Uytterhoeven
@ 2007-11-18 10:10 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2007-11-18 10:10 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton
  Cc: Linux/m68k, Linux Kernel Development, Finn Thain

[-- Attachment #1: mac68k-mailing-list-addresss.diff --]
[-- Type: text/plain, Size: 874 bytes --]

From: Finn Thain <fthain@telegraphics.com.au>

The mail service for the mac.linux-m68k.org domain is defunct.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 MAINTAINERS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2446,7 +2446,7 @@ M68K ON APPLE MACINTOSH
 P:	Joshua Thompson
 M:	funaho@jurai.org
 W:	http://www.mac.linux-m68k.org/
-L:	linux-mac68k@mac.linux-m68k.org
+L:	linux-m68k@lists.linux-m68k.org
 S:	Maintained
 
 M68K ON HP9000/300

-- 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-18 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-18 10:10 [patch 0/3] m68k patches for 2.6.24 Geert Uytterhoeven
2007-11-18 10:10 ` [patch 1/3] m68k: export atari_keyb_init Geert Uytterhoeven
2007-11-18 10:10 ` [patch 2/3] Amiga zorro bus: Add missing zorro_device_remove() Geert Uytterhoeven
2007-11-18 10:10 ` [patch 3/3] mac68k: mailing list addresss Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox