Browse Source

Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu

Pull m68knommu update from Greg Ungerer:
 "The major change is to remove the arch/m68k/platform directory.  The
  coldfire (and other non-mmu m68k platform) code is moved to the
  arch/m68k level, making them consistent with the traditional m68k
  platforms.

  A couple of other minor miscellaneous fixes as well"

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
  m68k: Fix typo 'COFNIG_MBAR'
  m68knommu: add missing ioport_map() and ioport_unmap()
  m68k/coldfire: remove second asm/mcfclk.h inclusion in m54xx.c
  m68knommu: fix size of address field for 5272 interrupt controller
  m68k: fix crufty 68000 and 68360 intro comments
  m68k: remove the unused arch/m68k/platform directory
  m68k: move non-mmu 68360 platform code
  m68k: move non-mmu 68000 platform code
  m68k: fix crufty ColdFire intro comments
  m68k: move coldfire platform code
Linus Torvalds 11 years ago
parent
commit
a45d572841
59 changed files with 40 additions and 37 deletions
  1. 0 0
      arch/m68k/68000/Makefile
  2. 0 0
      arch/m68k/68000/bootlogo-vz.h
  3. 0 0
      arch/m68k/68000/bootlogo.h
  4. 1 1
      arch/m68k/68000/entry.S
  5. 0 0
      arch/m68k/68000/head.S
  6. 0 0
      arch/m68k/68000/ints.c
  7. 0 0
      arch/m68k/68000/m68328.c
  8. 0 0
      arch/m68k/68000/m68EZ328.c
  9. 0 0
      arch/m68k/68000/m68VZ328.c
  10. 0 0
      arch/m68k/68000/romvec.S
  11. 0 0
      arch/m68k/68000/timers.c
  12. 1 1
      arch/m68k/68360/Makefile
  13. 0 0
      arch/m68k/68360/commproc.c
  14. 1 1
      arch/m68k/68360/config.c
  15. 1 1
      arch/m68k/68360/entry.S
  16. 2 3
      arch/m68k/68360/head-ram.S
  17. 2 3
      arch/m68k/68360/head-rom.S
  18. 1 1
      arch/m68k/68360/ints.c
  19. 6 6
      arch/m68k/Makefile
  20. 0 0
      arch/m68k/coldfire/Makefile
  21. 0 0
      arch/m68k/coldfire/cache.c
  22. 0 0
      arch/m68k/coldfire/clk.c
  23. 0 0
      arch/m68k/coldfire/device.c
  24. 0 0
      arch/m68k/coldfire/dma.c
  25. 0 0
      arch/m68k/coldfire/dma_timer.c
  26. 1 1
      arch/m68k/coldfire/entry.S
  27. 0 0
      arch/m68k/coldfire/firebee.c
  28. 0 0
      arch/m68k/coldfire/gpio.c
  29. 0 0
      arch/m68k/coldfire/head.S
  30. 0 0
      arch/m68k/coldfire/intc-2.c
  31. 0 0
      arch/m68k/coldfire/intc-5249.c
  32. 0 0
      arch/m68k/coldfire/intc-525x.c
  33. 1 1
      arch/m68k/coldfire/intc-5272.c
  34. 0 0
      arch/m68k/coldfire/intc-simr.c
  35. 0 0
      arch/m68k/coldfire/intc.c
  36. 1 1
      arch/m68k/coldfire/m5206.c
  37. 1 1
      arch/m68k/coldfire/m520x.c
  38. 1 1
      arch/m68k/coldfire/m523x.c
  39. 1 1
      arch/m68k/coldfire/m5249.c
  40. 1 1
      arch/m68k/coldfire/m525x.c
  41. 1 1
      arch/m68k/coldfire/m5272.c
  42. 2 2
      arch/m68k/coldfire/m527x.c
  43. 1 1
      arch/m68k/coldfire/m528x.c
  44. 1 1
      arch/m68k/coldfire/m5307.c
  45. 0 0
      arch/m68k/coldfire/m53xx.c
  46. 1 1
      arch/m68k/coldfire/m5407.c
  47. 0 0
      arch/m68k/coldfire/m5441x.c
  48. 1 2
      arch/m68k/coldfire/m54xx.c
  49. 0 0
      arch/m68k/coldfire/mcf8390.c
  50. 0 0
      arch/m68k/coldfire/nettel.c
  51. 0 0
      arch/m68k/coldfire/pci.c
  52. 0 0
      arch/m68k/coldfire/pit.c
  53. 0 0
      arch/m68k/coldfire/reset.c
  54. 0 0
      arch/m68k/coldfire/sltimers.c
  55. 0 0
      arch/m68k/coldfire/timers.c
  56. 1 1
      arch/m68k/coldfire/vectors.c
  57. 9 0
      arch/m68k/include/asm/io_no.h
  58. 1 1
      arch/m68k/include/asm/m54xxpci.h
  59. 0 3
      arch/m68k/platform/Makefile

+ 0 - 0
arch/m68k/platform/68000/Makefile → arch/m68k/68000/Makefile


+ 0 - 0
arch/m68k/platform/68000/bootlogo-vz.h → arch/m68k/68000/bootlogo-vz.h


+ 0 - 0
arch/m68k/platform/68000/bootlogo.h → arch/m68k/68000/bootlogo.h


+ 1 - 1
arch/m68k/platform/68000/entry.S → arch/m68k/68000/entry.S

@@ -1,5 +1,5 @@
 /*
 /*
- *  linux/arch/m68knommu/platform/68328/entry.S
+ *  entry.S -- non-mmu 68000 interrupt and exception entry points
  *
  *
  *  Copyright (C) 1991, 1992  Linus Torvalds
  *  Copyright (C) 1991, 1992  Linus Torvalds
  *
  *

+ 0 - 0
arch/m68k/platform/68000/head.S → arch/m68k/68000/head.S


+ 0 - 0
arch/m68k/platform/68000/ints.c → arch/m68k/68000/ints.c


+ 0 - 0
arch/m68k/platform/68000/m68328.c → arch/m68k/68000/m68328.c


+ 0 - 0
arch/m68k/platform/68000/m68EZ328.c → arch/m68k/68000/m68EZ328.c


+ 0 - 0
arch/m68k/platform/68000/m68VZ328.c → arch/m68k/68000/m68VZ328.c


+ 0 - 0
arch/m68k/platform/68000/romvec.S → arch/m68k/68000/romvec.S


+ 0 - 0
arch/m68k/platform/68000/timers.c → arch/m68k/68000/timers.c


+ 1 - 1
arch/m68k/platform/68360/Makefile → arch/m68k/68360/Makefile

@@ -1,5 +1,5 @@
 #
 #
-# Makefile for arch/m68knommu/platform/68360.
+# Makefile for 68360 machines.
 #
 #
 model-y			  := ram
 model-y			  := ram
 model-$(CONFIG_ROMKERNEL) := rom
 model-$(CONFIG_ROMKERNEL) := rom

+ 0 - 0
arch/m68k/platform/68360/commproc.c → arch/m68k/68360/commproc.c


+ 1 - 1
arch/m68k/platform/68360/config.c → arch/m68k/68360/config.c

@@ -1,5 +1,5 @@
 /*
 /*
- *  linux/arch/m68knommu/platform/68360/config.c
+ *  config.c - non-mmu 68360 platform initialization code
  *
  *
  *  Copyright (c) 2000 Michael Leslie <mleslie@lineo.com>
  *  Copyright (c) 2000 Michael Leslie <mleslie@lineo.com>
  *  Copyright (C) 1993 Hamish Macdonald
  *  Copyright (C) 1993 Hamish Macdonald

+ 1 - 1
arch/m68k/platform/68360/entry.S → arch/m68k/68360/entry.S

@@ -1,5 +1,5 @@
 /*
 /*
- *  linux/arch/m68knommu/platform/68360/entry.S
+ *  entry.S - non-mmu 68360 interrupt and exceptions entry points
  *
  *
  *  Copyright (C) 1991, 1992  Linus Torvalds
  *  Copyright (C) 1991, 1992  Linus Torvalds
  *  Copyright (C) 2001 SED Systems, a Division of Calian Ltd.
  *  Copyright (C) 2001 SED Systems, a Division of Calian Ltd.

+ 2 - 3
arch/m68k/platform/68360/head-ram.S → arch/m68k/68360/head-ram.S

@@ -1,6 +1,5 @@
-/* arch/m68knommu/platform/68360/head-ram.S
- *
- * Startup code for Motorola 68360
+/*
+ * head-ram.S - startup code for Motorola 68360
  *
  *
  * Copyright 2001 (C) SED Systems, a Division of Calian Ltd.
  * Copyright 2001 (C) SED Systems, a Division of Calian Ltd.
  * Based on: arch/m68knommu/platform/68328/pilot/crt0_rom.S
  * Based on: arch/m68knommu/platform/68328/pilot/crt0_rom.S

+ 2 - 3
arch/m68k/platform/68360/head-rom.S → arch/m68k/68360/head-rom.S

@@ -1,6 +1,5 @@
-/* arch/m68knommu/platform/68360/head-rom.S
- *
- * Startup code for Motorola 68360
+/*
+ * head-rom.S - startup code for Motorola 68360
  *
  *
  * Copyright (C) SED Systems, a Division of Calian Ltd.
  * Copyright (C) SED Systems, a Division of Calian Ltd.
  * Based on: arch/m68knommu/platform/68328/pilot/crt0_rom.S
  * Based on: arch/m68knommu/platform/68328/pilot/crt0_rom.S

+ 1 - 1
arch/m68k/platform/68360/ints.c → arch/m68k/68360/ints.c

@@ -1,5 +1,5 @@
 /*
 /*
- * linux/arch/$(ARCH)/platform/$(PLATFORM)/ints.c
+ * ints.c - first level interrupt handlers
  *
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file COPYING in the main directory of this archive
  * License.  See the file COPYING in the main directory of this archive

+ 6 - 6
arch/m68k/Makefile

@@ -92,9 +92,9 @@ endif
 #
 #
 head-y				:= arch/m68k/kernel/head.o
 head-y				:= arch/m68k/kernel/head.o
 head-$(CONFIG_SUN3)		:= arch/m68k/kernel/sun3-head.o
 head-$(CONFIG_SUN3)		:= arch/m68k/kernel/sun3-head.o
-head-$(CONFIG_M68360)		:= arch/m68k/platform/68360/head.o
-head-$(CONFIG_M68000)		:= arch/m68k/platform/68000/head.o
-head-$(CONFIG_COLDFIRE)		:= arch/m68k/platform/coldfire/head.o
+head-$(CONFIG_M68360)		:= arch/m68k/68360/head.o
+head-$(CONFIG_M68000)		:= arch/m68k/68000/head.o
+head-$(CONFIG_COLDFIRE)		:= arch/m68k/coldfire/head.o
 
 
 core-y				+= arch/m68k/kernel/	arch/m68k/mm/
 core-y				+= arch/m68k/kernel/	arch/m68k/mm/
 libs-y				+= arch/m68k/lib/
 libs-y				+= arch/m68k/lib/
@@ -114,9 +114,9 @@ core-$(CONFIG_NATFEAT)		+= arch/m68k/emu/
 core-$(CONFIG_M68040)		+= arch/m68k/fpsp040/
 core-$(CONFIG_M68040)		+= arch/m68k/fpsp040/
 core-$(CONFIG_M68060)		+= arch/m68k/ifpsp060/
 core-$(CONFIG_M68060)		+= arch/m68k/ifpsp060/
 core-$(CONFIG_M68KFPU_EMU)	+= arch/m68k/math-emu/
 core-$(CONFIG_M68KFPU_EMU)	+= arch/m68k/math-emu/
-core-$(CONFIG_M68360)		+= arch/m68k/platform/68360/
-core-$(CONFIG_M68000)		+= arch/m68k/platform/68000/
-core-$(CONFIG_COLDFIRE)		+= arch/m68k/platform/coldfire/
+core-$(CONFIG_M68360)		+= arch/m68k/68360/
+core-$(CONFIG_M68000)		+= arch/m68k/68000/
+core-$(CONFIG_COLDFIRE)		+= arch/m68k/coldfire/
 
 
 
 
 all:	zImage
 all:	zImage

+ 0 - 0
arch/m68k/platform/coldfire/Makefile → arch/m68k/coldfire/Makefile


+ 0 - 0
arch/m68k/platform/coldfire/cache.c → arch/m68k/coldfire/cache.c


+ 0 - 0
arch/m68k/platform/coldfire/clk.c → arch/m68k/coldfire/clk.c


+ 0 - 0
arch/m68k/platform/coldfire/device.c → arch/m68k/coldfire/device.c


+ 0 - 0
arch/m68k/platform/coldfire/dma.c → arch/m68k/coldfire/dma.c


+ 0 - 0
arch/m68k/platform/coldfire/dma_timer.c → arch/m68k/coldfire/dma_timer.c


+ 1 - 1
arch/m68k/platform/coldfire/entry.S → arch/m68k/coldfire/entry.S

@@ -1,5 +1,5 @@
 /*
 /*
- *  linux/arch/m68knommu/platform/5307/entry.S
+ *  entry.S  -- interrupt and exception processing for ColdFire
  *
  *
  *  Copyright (C) 1999-2007, Greg Ungerer (gerg@snapgear.com)
  *  Copyright (C) 1999-2007, Greg Ungerer (gerg@snapgear.com)
  *  Copyright (C) 1998  D. Jeff Dionne <jeff@lineo.ca>,
  *  Copyright (C) 1998  D. Jeff Dionne <jeff@lineo.ca>,

+ 0 - 0
arch/m68k/platform/coldfire/firebee.c → arch/m68k/coldfire/firebee.c


+ 0 - 0
arch/m68k/platform/coldfire/gpio.c → arch/m68k/coldfire/gpio.c


+ 0 - 0
arch/m68k/platform/coldfire/head.S → arch/m68k/coldfire/head.S


+ 0 - 0
arch/m68k/platform/coldfire/intc-2.c → arch/m68k/coldfire/intc-2.c


+ 0 - 0
arch/m68k/platform/coldfire/intc-5249.c → arch/m68k/coldfire/intc-5249.c


+ 0 - 0
arch/m68k/platform/coldfire/intc-525x.c → arch/m68k/coldfire/intc-525x.c


+ 1 - 1
arch/m68k/platform/coldfire/intc-5272.c → arch/m68k/coldfire/intc-5272.c

@@ -36,7 +36,7 @@
  * they also need acknowledging via acknowledge bits.
  * they also need acknowledging via acknowledge bits.
  */
  */
 struct irqmap {
 struct irqmap {
-	unsigned char	icr;
+	unsigned int	icr;
 	unsigned char	index;
 	unsigned char	index;
 	unsigned char	ack;
 	unsigned char	ack;
 };
 };

+ 0 - 0
arch/m68k/platform/coldfire/intc-simr.c → arch/m68k/coldfire/intc-simr.c


+ 0 - 0
arch/m68k/platform/coldfire/intc.c → arch/m68k/coldfire/intc.c


+ 1 - 1
arch/m68k/platform/coldfire/m5206.c → arch/m68k/coldfire/m5206.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/5206/config.c
+ *	m5206.c  -- platform support for ColdFire 5206 based boards
  *
  *
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  * 	Copyright (C) 2000-2001, Lineo Inc. (www.lineo.com) 
  * 	Copyright (C) 2000-2001, Lineo Inc. (www.lineo.com) 

+ 1 - 1
arch/m68k/platform/coldfire/m520x.c → arch/m68k/coldfire/m520x.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *  linux/arch/m68knommu/platform/520x/config.c
+ *  m520x.c  -- platform support for ColdFire 520x based boards
  *
  *
  *  Copyright (C) 2005,      Freescale (www.freescale.com)
  *  Copyright (C) 2005,      Freescale (www.freescale.com)
  *  Copyright (C) 2005,      Intec Automation (mike@steroidmicros.com)
  *  Copyright (C) 2005,      Intec Automation (mike@steroidmicros.com)

+ 1 - 1
arch/m68k/platform/coldfire/m523x.c → arch/m68k/coldfire/m523x.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/523x/config.c
+ *	m523x.c  -- platform support for ColdFire 523x based boards
  *
  *
  *	Sub-architcture dependent initialization code for the Freescale
  *	Sub-architcture dependent initialization code for the Freescale
  *	523x CPUs.
  *	523x CPUs.

+ 1 - 1
arch/m68k/platform/coldfire/m5249.c → arch/m68k/coldfire/m5249.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/5249/config.c
+ *	m5249.c  -- platform support for ColdFire 5249 based boards
  *
  *
  *	Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
  */
  */

+ 1 - 1
arch/m68k/platform/coldfire/m525x.c → arch/m68k/coldfire/m525x.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	525x.c
+ *	525x.c  -- platform support for ColdFire 525x based boards
  *
  *
  *	Copyright (C) 2012, Steven King <sfking@fdwdc.com>
  *	Copyright (C) 2012, Steven King <sfking@fdwdc.com>
  */
  */

+ 1 - 1
arch/m68k/platform/coldfire/m5272.c → arch/m68k/coldfire/m5272.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/5272/config.c
+ *	m5272.c  -- platform support for ColdFire 5272 based boards
  *
  *
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 2001-2002, SnapGear Inc. (www.snapgear.com)
  *	Copyright (C) 2001-2002, SnapGear Inc. (www.snapgear.com)

+ 2 - 2
arch/m68k/platform/coldfire/m527x.c → arch/m68k/coldfire/m527x.c

@@ -1,10 +1,10 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/527x/config.c
+ *	m527x.c  -- platform support for ColdFire 527x based boards
  *
  *
  *	Sub-architcture dependent initialization code for the Freescale
  *	Sub-architcture dependent initialization code for the Freescale
- *	5270/5271 CPUs.
+ *	5270/5271 and 5274/5275 CPUs.
  *
  *
  *	Copyright (C) 1999-2004, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 1999-2004, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 2001-2004, SnapGear Inc. (www.snapgear.com)
  *	Copyright (C) 2001-2004, SnapGear Inc. (www.snapgear.com)

+ 1 - 1
arch/m68k/platform/coldfire/m528x.c → arch/m68k/coldfire/m528x.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/528x/config.c
+ *	m528x.c  -- platform support for ColdFire 528x based boards
  *
  *
  *	Sub-architcture dependent initialization code for the Freescale
  *	Sub-architcture dependent initialization code for the Freescale
  *	5280, 5281 and 5282 CPUs.
  *	5280, 5281 and 5282 CPUs.

+ 1 - 1
arch/m68k/platform/coldfire/m5307.c → arch/m68k/coldfire/m5307.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/5307/config.c
+ *	m5307.c  -- platform support for ColdFire 5307 based boards
  *
  *
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 2000, Lineo (www.lineo.com)
  *	Copyright (C) 2000, Lineo (www.lineo.com)

+ 0 - 0
arch/m68k/platform/coldfire/m53xx.c → arch/m68k/coldfire/m53xx.c


+ 1 - 1
arch/m68k/platform/coldfire/m5407.c → arch/m68k/coldfire/m5407.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/5407/config.c
+ *	m5407.c  -- platform support for ColdFire 5407 based boards
  *
  *
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  *	Copyright (C) 2000, Lineo (www.lineo.com)
  *	Copyright (C) 2000, Lineo (www.lineo.com)

+ 0 - 0
arch/m68k/platform/coldfire/m5441x.c → arch/m68k/coldfire/m5441x.c


+ 1 - 2
arch/m68k/platform/coldfire/m54xx.c → arch/m68k/coldfire/m54xx.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/54xx/config.c
+ *	m54xx.c  -- platform support for ColdFire 54xx based boards
  *
  *
  *	Copyright (C) 2010, Philippe De Muyter <phdm@macqel.be>
  *	Copyright (C) 2010, Philippe De Muyter <phdm@macqel.be>
  */
  */
@@ -23,7 +23,6 @@
 #include <asm/mcfuart.h>
 #include <asm/mcfuart.h>
 #include <asm/mcfclk.h>
 #include <asm/mcfclk.h>
 #include <asm/m54xxgpt.h>
 #include <asm/m54xxgpt.h>
-#include <asm/mcfclk.h>
 #ifdef CONFIG_MMU
 #ifdef CONFIG_MMU
 #include <asm/mmu_context.h>
 #include <asm/mmu_context.h>
 #endif
 #endif

+ 0 - 0
arch/m68k/platform/coldfire/mcf8390.c → arch/m68k/coldfire/mcf8390.c


+ 0 - 0
arch/m68k/platform/coldfire/nettel.c → arch/m68k/coldfire/nettel.c


+ 0 - 0
arch/m68k/platform/coldfire/pci.c → arch/m68k/coldfire/pci.c


+ 0 - 0
arch/m68k/platform/coldfire/pit.c → arch/m68k/coldfire/pit.c


+ 0 - 0
arch/m68k/platform/coldfire/reset.c → arch/m68k/coldfire/reset.c


+ 0 - 0
arch/m68k/platform/coldfire/sltimers.c → arch/m68k/coldfire/sltimers.c


+ 0 - 0
arch/m68k/platform/coldfire/timers.c → arch/m68k/coldfire/timers.c


+ 1 - 1
arch/m68k/platform/coldfire/vectors.c → arch/m68k/coldfire/vectors.c

@@ -1,7 +1,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
 
 /*
 /*
- *	linux/arch/m68knommu/platform/coldfire/vectors.c
+ *	vectors.c  -- high level trap setup for ColdFire
  *
  *
  *	Copyright (C) 1999-2007, Greg Ungerer <gerg@snapgear.com>
  *	Copyright (C) 1999-2007, Greg Ungerer <gerg@snapgear.com>
  */
  */

+ 9 - 0
arch/m68k/include/asm/io_no.h

@@ -179,6 +179,15 @@ static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size
  */
  */
 #define xlate_dev_kmem_ptr(p)	p
 #define xlate_dev_kmem_ptr(p)	p
 
 
+static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
+{
+	return (void __iomem *) port;
+}
+
+static inline void ioport_unmap(void __iomem *p)
+{
+}
+
 #endif /* __KERNEL__ */
 #endif /* __KERNEL__ */
 
 
 #endif /* _M68KNOMMU_IO_H */
 #endif /* _M68KNOMMU_IO_H */

+ 1 - 1
arch/m68k/include/asm/m54xxpci.h

@@ -72,7 +72,7 @@
 #define	PCIRFWPR	(CONFIG_MBAR + 0x84d4)	/* RX FIFO write pointer */
 #define	PCIRFWPR	(CONFIG_MBAR + 0x84d4)	/* RX FIFO write pointer */
 
 
 #define	PACR		(CONFIG_MBAR + 0xc00)	/* PCI arbiter control */
 #define	PACR		(CONFIG_MBAR + 0xc00)	/* PCI arbiter control */
-#define	PASR		(COFNIG_MBAR + 0xc04)	/* PCI arbiter status */
+#define	PASR		(CONFIG_MBAR + 0xc04)	/* PCI arbiter status */
 
 
 /*
 /*
  *	Definitions for the Global status and control register.
  *	Definitions for the Global status and control register.

+ 0 - 3
arch/m68k/platform/Makefile

@@ -1,3 +0,0 @@
-#
-# Makefile for the arch/m68knommu/platform.
-#