linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Start the consolidation of the OpenFrimware support routines
@ 2007-07-18  7:30 Stephen Rothwell
  2007-07-18  7:36 ` David Miller
  2007-07-19 15:07 ` [PATCH 01/12] Split out common parts of prom.h Stephen Rothwell
  0 siblings, 2 replies; 29+ messages in thread
From: Stephen Rothwell @ 2007-07-18  7:30 UTC (permalink / raw)
  To: ppc-dev, sparclinux; +Cc: paulus, David S. Miller, wli

[-- Attachment #1: Type: text/plain, Size: 3908 bytes --]

Hi Dave, Paul,

The latest version of the changes is available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons.git master

I will send patches to the lists if people want them.  The only changes
from the previous version is to merge with Linus' current tree (there
were various conflicts with PowerPC changes).  This has been built for
Sparc and Sparc64 defconfigs but I have no Sparc hardware to boot on.  It
has also been built for PowerPC allmodconfig and ppc64_defconfig - the
latter has been booted on an iSeries box.

The intention here is that there should be no behavioural changes and
minimal code changes (apart from movement of the code to common places).
There are, however a couple of unavoidable changes:
	- some of the accessor functions now take a read lock on Sparc[64]
where they didn't before.
	- the bus structures are initialised at runtime.

If people are happy with this, I will submit it directly to Linus.

Stephen Rothwell (12):
      Split out common parts of prom.h
      Start split out of common open firmware code
      Consolidate of_device_is_compatible
      Consolidate of_find_property
      Consolidate of_get_parent
      Consolidate of_get_next_child
      Consolidate of_find_node_by routines
      Begin to consolidate of_device.c
      Begin consolidation of of_device.h
      [SPARC/64] Rename some functions like PowerPC
      Create linux/of_platorm.h
      Create drivers/of/platform.c

 arch/powerpc/Kconfig              |    3 +
 arch/powerpc/kernel/of_device.c   |  122 +----------------
 arch/powerpc/kernel/of_platform.c |   82 +-----------
 arch/powerpc/kernel/prom.c        |  250 +---------------------------------
 arch/sparc/Kconfig                |    3 +
 arch/sparc/kernel/of_device.c     |  222 ++----------------------------
 arch/sparc/kernel/prom.c          |  173 +-----------------------
 arch/sparc/kernel/time.c          |    2 +-
 arch/sparc64/Kconfig              |    3 +
 arch/sparc64/kernel/auxio.c       |    2 +-
 arch/sparc64/kernel/of_device.c   |  238 +++-----------------------------
 arch/sparc64/kernel/power.c       |    2 +-
 arch/sparc64/kernel/prom.c        |  173 +-----------------------
 arch/sparc64/kernel/time.c        |    2 +-
 drivers/Kconfig                   |    2 +
 drivers/Makefile                  |    1 +
 drivers/of/Kconfig                |    3 +
 drivers/of/Makefile               |    2 +
 drivers/of/base.c                 |  275 +++++++++++++++++++++++++++++++++++++
 drivers/of/device.c               |  131 ++++++++++++++++++
 drivers/of/platform.c             |   96 +++++++++++++
 include/asm-powerpc/of_device.h   |   22 +---
 include/asm-powerpc/of_platform.h |   38 +-----
 include/asm-powerpc/prom.h        |   50 ++-----
 include/asm-sparc/of_device.h     |   49 +------
 include/asm-sparc/of_platform.h   |   32 +++++
 include/asm-sparc/prom.h          |   62 +++------
 include/asm-sparc64/of_device.h   |   50 +------
 include/asm-sparc64/of_platform.h |   33 +++++
 include/asm-sparc64/prom.h        |   62 +++------
 include/linux/of.h                |   61 ++++++++
 include/linux/of_device.h         |   26 ++++
 include/linux/of_platform.h       |   57 ++++++++
 33 files changed, 846 insertions(+), 1483 deletions(-)
 create mode 100644 drivers/of/Kconfig
 create mode 100644 drivers/of/Makefile
 create mode 100644 drivers/of/base.c
 create mode 100644 drivers/of/device.c
 create mode 100644 drivers/of/platform.c
 create mode 100644 include/asm-sparc/of_platform.h
 create mode 100644 include/asm-sparc64/of_platform.h
 create mode 100644 include/linux/of.h
 create mode 100644 include/linux/of_device.h
 create mode 100644 include/linux/of_platform.h

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-07-20  4:20 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18  7:30 Start the consolidation of the OpenFrimware support routines Stephen Rothwell
2007-07-18  7:36 ` David Miller
2007-07-19 15:07 ` [PATCH 01/12] Split out common parts of prom.h Stephen Rothwell
2007-07-19 15:09   ` [PATCH 02/12] Start split out of common open firmware code Stephen Rothwell
2007-07-19 23:48     ` David Miller
2007-07-19 15:10   ` [PATCH 03/12] Consolidate of_device_is_compatible Stephen Rothwell
2007-07-19 15:52     ` Scott Wood
2007-07-19 16:02       ` Stephen Rothwell
2007-07-19 16:58       ` Segher Boessenkool
2007-07-20  0:24     ` David Miller
2007-07-19 15:11   ` [PATCH 04/12] Consolidate of_find_property Stephen Rothwell
2007-07-20  0:45     ` David Miller
2007-07-19 15:12   ` [PATCH 05/12] Consolidate of_get_parent Stephen Rothwell
2007-07-20  1:01     ` David Miller
2007-07-19 15:13   ` [PATCH 06/12] Consolidate of_get_next_child Stephen Rothwell
2007-07-20  1:07     ` David Miller
2007-07-19 15:14   ` [PATCH 07/12] Consolidate of_find_node_by routines Stephen Rothwell
2007-07-20  3:12     ` David Miller
2007-07-19 15:16   ` [PATCH 08/12] Begin to consolidate of_device.c Stephen Rothwell
2007-07-20  3:21     ` David Miller
2007-07-19 15:17   ` [PATCH 09/12] Begin consolidation of of_device.h Stephen Rothwell
2007-07-20  3:33     ` David Miller
2007-07-19 15:18   ` [PATCH 10/12] [SPARC/64] Rename some functions like PowerPC Stephen Rothwell
2007-07-19 15:19   ` [PATCH 11/12] Create linux/of_platorm.h Stephen Rothwell
2007-07-20  4:01     ` David Miller
2007-07-19 15:20   ` [PATCH 12/12] Create drivers/of/platform.c Stephen Rothwell
2007-07-20  4:20     ` David Miller
2007-07-19 22:55   ` [PATCH 01/12] Split out common parts of prom.h David Miller
2007-07-19 23:27   ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).